Changeset 1483 for pykota/trunk/bin/pykota
- Timestamp:
- 05/18/04 16:49:34 (20 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
pykota/trunk/bin/pykota
r1400 r1483 24 24 # 25 25 # $Log$ 26 # Revision 1.58 2004/05/18 14:48:47 jalet 27 # Big code changes to completely remove the need for "requester" directives, 28 # jsut use "hardware(... your previous requester directive's content ...)" 29 # 26 30 # Revision 1.57 2004/03/15 10:47:56 jalet 27 31 # This time the traceback formatting should be correct ! … … 233 237 from pykota.storage import PyKotaStorageError 234 238 from pykota.accounter import PyKotaAccounterError 235 from pykota.requester import PyKotaRequesterError236 239 237 240 class PyKotaFilter(PyKotaFilterOrBackend) : … … 359 362 kotafilter = PyKotaFilter() 360 363 retcode = kotafilter.mainWork() 361 except (PyKotaToolError, PyKotaConfigError, PyKotaStorageError, PyKotaAccounterError, PyKotaRequesterError,AttributeError, KeyError, IndexError, ValueError, TypeError, IOError), msg :364 except (PyKotaToolError, PyKotaConfigError, PyKotaStorageError, PyKotaAccounterError, AttributeError, KeyError, IndexError, ValueError, TypeError, IOError), msg : 362 365 import traceback 363 366 mm = [((f.endswith('\n') and f) or (f + '\n')) for f in traceback.format_exception(*sys.exc_info())]