Message109727
> Hm, the patch could be more "pythonic". Something like:
>
> symlink_exception = (AttributeError,)
> try:
> symlink_exception += (NotImplementedError, WindowsError)
> except NameError:
> pass
Probably better as:
symlink_exception = (AttributeError, NotImplementedError)
try:
symlink_exception += (WindowsError,)
except NameError:
pass |
|
Date |
User |
Action |
Args |
2010-07-09 13:10:50 | pitrou | set | recipients:
+ pitrou, lemburg, loewis, nnorwitz, jafo, amaury.forgeotdarc, jaraco, ggenellina, eric.smith, giampaolo.rodola, swarren, r.david.murray, ssbarnea, brian.curtin, asvetlov |
2010-07-09 13:10:43 | pitrou | link | issue1578269 messages |
2010-07-09 13:10:43 | pitrou | create | |
|