Changeset 975
- Timestamp:
- 04/30/03 00:03:38 (22 years ago)
- Location:
- pykota/trunk
- Files:
-
- 5 modified
Legend:
- Unmodified
- Added
- Removed
-
pykota/trunk/bin/edpykota
r952 r975 23 23 # 24 24 # $Log$ 25 # Revision 1.44 2003/04/29 22:03:38 jalet 26 # Better error handling. 27 # 25 28 # Revision 1.43 2003/04/23 22:13:56 jalet 26 29 # Preliminary support for LPRng added BUT STILL UNTESTED. … … 167 170 from pykota import version 168 171 from pykota.tool import PyKotaTool, PyKotaToolError 172 from pykota.config import PyKotaConfigError 173 from pykota.storage import PyKotaStorageError 169 174 170 175 __doc__ = """edpykota v%s (C) 2003 C@LL - Conseil Internet & Logiciels Libres … … 530 535 else : 531 536 sys.exit(editor.main(args, options)) 532 except PyKotaToolError, msg :537 except (PyKotaToolError, PyKotaConfigError, PyKotaStorageError), msg : 533 538 sys.stderr.write("%s\n" % msg) 534 539 sys.stderr.flush() -
pykota/trunk/bin/pykota
r973 r975 23 23 # 24 24 # $Log$ 25 # Revision 1.30 2003/04/29 22:03:38 jalet 26 # Better error handling. 27 # 25 28 # Revision 1.29 2003/04/29 18:37:54 jalet 26 29 # Pluggable accounting methods (actually doesn't support external scripts) … … 136 139 137 140 from pykota.tool import PyKotaTool, PyKotaToolError 141 from pykota.config import PyKotaConfigError 138 142 from pykota.storage import PyKotaStorageError 139 143 from pykota.accounter import openAccounter, PyKotaAccounterError … … 273 277 try : 274 278 retcode = main() 275 except (PyKotaToolError, PyKota StorageError, PyKotaAccounterError), msg :279 except (PyKotaToolError, PyKotaConfigError, PyKotaStorageError, PyKotaAccounterError), msg : 276 280 sys.stderr.write("ERROR : PyKota filter failed (%s)\n" % msg) 277 281 sys.stderr.flush() -
pykota/trunk/bin/repykota
r970 r975 23 23 # 24 24 # $Log$ 25 # Revision 1.34 2003/04/29 22:03:38 jalet 26 # Better error handling. 27 # 25 28 # Revision 1.33 2003/04/28 08:25:48 jalet 26 29 # Small display bug in repykota was fixed. … … 133 136 from pykota import version 134 137 from pykota.tool import PyKotaTool, PyKotaToolError 138 from pykota.config import PyKotaConfigError 139 from pykota.storage import PyKotaStorageError 135 140 136 141 __doc__ = """repykota v%s (C) 2003 C@LL - Conseil Internet & Logiciels Libres … … 303 308 else : 304 309 sys.exit(reporter.main(options)) 305 except PyKotaToolError, msg :310 except (PyKotaToolError, PyKotaConfigError, PyKotaStorageError), msg : 306 311 sys.stderr.write("%s\n" % msg) 307 312 sys.stderr.flush() -
pykota/trunk/bin/warnpykota
r952 r975 23 23 # 24 24 # $Log$ 25 # Revision 1.19 2003/04/29 22:03:38 jalet 26 # Better error handling. 27 # 25 28 # Revision 1.18 2003/04/23 22:13:56 jalet 26 29 # Preliminary support for LPRng added BUT STILL UNTESTED. … … 84 87 from pykota import version 85 88 from pykota.tool import PyKotaTool, PyKotaToolError 89 from pykota.config import PyKotaConfigError 90 from pykota.storage import PyKotaStorageError 86 91 87 92 __doc__ = """warnpykota v%s (C) 2003 C@LL - Conseil Internet & Logiciels Libres … … 187 192 else : 188 193 sys.exit(sender.main(options)) 189 except PyKotaToolError, msg :194 except (PyKotaToolError, PyKotaConfigError, PyKotaStorageError), msg : 190 195 sys.stderr.write("%s\n" % msg) 191 196 sys.stderr.flush() -
pykota/trunk/NEWS
r973 r975 25 25 26 26 - Pluggable accounting methods. 27 28 - Better error handling. 27 29 28 30 - 1.05alpha1 :