Changeset 1004 for pykota/trunk/bin
- Timestamp:
- 05/28/03 15:51:38 (22 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
pykota/trunk/bin/pykota
r1000 r1004 23 23 # 24 24 # $Log$ 25 # Revision 1.33 2003/05/28 13:51:38 jalet 26 # Better handling of errors 27 # 25 28 # Revision 1.32 2003/05/27 23:00:20 jalet 26 29 # Big rewrite of external accounting methods. … … 271 274 272 275 if __name__ == "__main__" : 276 retcode = -1 273 277 try : 274 278 retcode = main() 275 except (PyKotaToolError, PyKotaConfigError, PyKotaStorageError, PyKotaAccounterError ), msg :279 except (PyKotaToolError, PyKotaConfigError, PyKotaStorageError, PyKotaAccounterError, AttributeError, KeyError, IndexError, ValueError, IOError), msg : 276 280 sys.stderr.write("ERROR : PyKota filter failed (%s)\n" % msg) 277 281 sys.stderr.flush() 278 retcode = -1279 282 sys.exit(retcode) 280 283