Message246092
May be slightly refactor the code?
def _select_from(self, parent_path, is_dir, exists, listdir):
try:
if not is_dir(parent_path):
return
yield from self._select_from2(parent_path, is_dir, exists, listdir)
except PermissionError:
return
def _select_from2(self, parent_path, is_dir, exists, listdir):
... # implementation |
|
Date |
User |
Action |
Args |
2015-07-02 18:11:55 | serhiy.storchaka | set | recipients:
+ serhiy.storchaka, pitrou, ethan.furman, zach.ware, Gregorio, ulope |
2015-07-02 18:11:55 | serhiy.storchaka | set | messageid: <1435860715.59.0.992470921233.issue24120@psf.upfronthosting.co.za> |
2015-07-02 18:11:55 | serhiy.storchaka | link | issue24120 messages |
2015-07-02 18:11:55 | serhiy.storchaka | create | |
|