Browse code

trivial: print full error on OSError, IOError

Matt Domsch authored on 2014/03/21 13:54:25
Showing 1 changed files
... ...
@@ -2433,7 +2433,7 @@ if __name__ == '__main__':
2433 2433
         sys.exit(1)
2434 2434
 
2435 2435
     except (OSError, IOError), e:
2436
-        error(e.strerror)
2436
+        error(e)
2437 2437
         sys.exit(1)
2438 2438
 
2439 2439
     except MemoryError: