Changeset 3294 for pykota/trunk/bin/warnpykota
- Timestamp:
- 01/18/08 23:39:41 (16 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
pykota/trunk/bin/warnpykota
r3288 r3294 25 25 import os 26 26 import pwd 27 28 import pykota.appinit 29 from pykota.utils import * 27 30 28 31 from pykota.errors import PyKotaCommandLineError … … 156 159 retcode = sender.main(args, options) 157 160 except KeyboardInterrupt : 158 sys.stderr.write("\nInterrupted with Ctrl+C !\n")161 logerr("\nInterrupted with Ctrl+C !\n") 159 162 retcode = -3 160 163 except PyKotaCommandLineError, msg : 161 sys.stderr.write("%s : %s\n" % (sys.argv[0], msg))164 logerr("%s : %s\n" % (sys.argv[0], msg)) 162 165 retcode = -2 163 166 except SystemExit :