(self)
| 429 | return os.path.isdir(self.path) |
| 430 | |
| 431 | def GetSubList(self): |
| 432 | try: |
| 433 | names = os.listdir(self.path) |
| 434 | except OSError: |
| 435 | return [] |
| 436 | names.sort(key = os.path.normcase) |
| 437 | sublist = [] |
| 438 | for name in names: |
| 439 | item = FileTreeItem(os.path.join(self.path, name)) |
| 440 | sublist.append(item) |
| 441 | return sublist |
| 442 | |
| 443 | |
| 444 | # A canvas widget with scroll bars and some useful bindings |
nothing calls this directly
no test coverage detected