Changeset 3294 for pykota/trunk/bin/pknotify
- Timestamp:
- 01/18/08 23:39:41 (16 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
pykota/trunk/bin/pknotify
r3288 r3294 34 34 else : 35 35 hasPAM = True 36 37 import pykota.appinit 38 from pykota.utils import * 36 39 37 40 from pykota.errors import PyKotaToolError, PyKotaCommandLineError … … 354 357 retcode = notifier.main(args, options) 355 358 except KeyboardInterrupt : 356 sys.stderr.write("\nInterrupted with Ctrl+C !\n")359 logerr("\nInterrupted with Ctrl+C !\n") 357 360 retcode = -3 358 361 except PyKotaCommandLineError, msg : 359 sys.stderr.write("%s : %s\n" % (sys.argv[0], msg))362 logerr("%s : %s\n" % (sys.argv[0], msg)) 360 363 print "CANCEL" # Forces the cancellation of the print job if a command line switch is incorrect 361 364 retcode = -2