Message166519
the code:
import os,stat
mode=os.stat("a broken link file").st_mode
then i got :OSError: [Errno 2] No such file or directory.
why not just treat a broken link as something existing and don't report any error. |
|
Date |
User |
Action |
Args |
2012-07-26 21:03:21 | maliubiao@gmail.com | set | recipients:
+ maliubiao@gmail.com |
2012-07-26 21:03:21 | maliubiao@gmail.com | set | messageid: <1343336601.05.0.224760800644.issue15461@psf.upfronthosting.co.za> |
2012-07-26 21:03:20 | maliubiao@gmail.com | link | issue15461 messages |
2012-07-26 21:03:20 | maliubiao@gmail.com | create | |
|