changeset 7481 | 23ae090fc6a4 |
parent 7454 | 1090724f28ed |
parent 7477 | 3d64867f1019 |
child 7695 | 2f6e37661cf6 |
--- a/server/sources/storages.py Thu Jun 09 12:16:10 2011 +0200 +++ b/server/sources/storages.py Thu Jun 09 12:31:28 2011 +0200 @@ -122,7 +122,7 @@ fpath = source.binary_to_str(value) try: return Binary(file(fpath, 'rb').read()) - except OSError, ex: + except EnvironmentError, ex: source.critical("can't open %s: %s", value, ex) return None