Message246092
| Author | serhiy.storchaka |
|---|---|
| Recipients | Gregorio, ethan.furman, pitrou, serhiy.storchaka, ulope, zach.ware |
| Date | 2015-07-02.18:11:55 |
| SpamBayes Score | -1.0 |
| Marked as misclassified | Yes |
| Message-id | <1435860715.59.0.992470921233.issue24120@psf.upfronthosting.co.za> |
| In-reply-to |
| Content | |
|---|---|
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 |
|
| History | |||
|---|---|---|---|
| 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 | |