Changeset 758
- Timestamp:
- 02/08/03 10:42:44 (22 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
pykota/trunk/bin/edpykota
r757 r758 17 17 # 18 18 # $Log$ 19 # Revision 1.11 2003/02/08 09:42:44 jalet 20 # Better handle wrong or bad command line arguments 21 # 19 22 # Revision 1.10 2003/02/08 09:39:20 jalet 20 23 # typos … … 182 185 if hardlimit is None : 183 186 hardlimit = softlimit 184 self.logger.log_message("Undefined hard limit set to %i on printer %s." % (hardlimit, printer))187 self.logger.log_message("Undefined hard limit set to soft limit (%s) on printer %s." % (str(hardlimit), printer)) 185 188 if softlimit is None : 186 189 softlimit = hardlimit 187 self.logger.log_message("Undefined soft limit set to %i on printer %s." % (softlimit, printer))190 self.logger.log_message("Undefined soft limit set to hard limit (%s) on printer %s." % (str(softlimit), printer)) 188 191 if (hardlimit is None) or (softlimit is None) : 189 raise PyKotaToolError, "Both hard and soft limits must be set ! 192 raise PyKotaToolError, "Both hard and soft limits must be set ! Aborting." 190 193 for name in names : 191 194 if options["users"] :