Message254440
The glob module happily joins names of regular files together with os.path.join() or attempts to list the files contained into a regular file (sic). The same 'except os.error' statement is used to handle both these cases and the case of a non readable directory.
The attached patch makes the code more correct and easier to understand. |
|
Date |
User |
Action |
Args |
2015-11-10 11:18:07 | xdegaye | set | recipients:
+ xdegaye |
2015-11-10 11:18:07 | xdegaye | set | messageid: <1447154287.89.0.207791672282.issue25596@psf.upfronthosting.co.za> |
2015-11-10 11:18:07 | xdegaye | link | issue25596 messages |
2015-11-10 11:18:07 | xdegaye | create | |
|