Mark Lawrence added the comment:

Couldn't part of the patch be simplified to:-

if basename or os.path.isdir(dirname):
    yield pathname

or have I misread it?

----------
nosy: +BreamoreBoy

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue17923>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to