Changeset 748 for pykota/trunk/bin
- Timestamp:
- 02/07/03 23:13:13 (22 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
pykota/trunk/bin/edpykota
r720 r748 17 17 # 18 18 # $Log$ 19 # Revision 1.6 2003/02/07 22:13:13 jalet 20 # Perhaps edpykota is now able to add printers !!! Oh, stupid me ! 21 # 19 22 # Revision 1.5 2003/02/06 14:49:04 jalet 20 23 # edpykota should be ok now … … 120 123 printernames = self.storage.getMatchingPrinters(options["printer"]) 121 124 if not printernames : 122 raise PyKotaToolError, "There's no printer matching %s" % options["printer"] 125 if options["add"] and options["printer"] and options["printer"].isalpha() : 126 self.storage.addPrinter(options["printer"]) 127 else : 128 raise PyKotaToolError, "There's no printer matching %s" % options["printer"] 123 129 softlimit = hardlimit = None 124 130 if options["softlimit"] :