- Timestamp:
- 04/05/03 11:28:56 (22 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
pykota/trunk/bin/edpykota
r873 r886 23 23 # 24 24 # $Log$ 25 # Revision 1.29 2003/04/05 09:28:56 jalet 26 # Unnecessary message was logged 27 # 25 28 # Revision 1.28 2003/03/29 13:45:26 jalet 26 29 # GPL paragraphs were incorrectly (from memory) copied into the sources. … … 264 267 if hardlimit is None : 265 268 hardlimit = softlimit 266 self.logger.log_message(_("Undefined hard limit set to soft limit (%s) on printer %s.") % (str(hardlimit), printer)) 269 if hardlimit is not None : 270 self.logger.log_message(_("Undefined hard limit set to soft limit (%s) on printer %s.") % (str(hardlimit), printer)) 267 271 if softlimit is None : 268 272 softlimit = hardlimit 269 self.logger.log_message(_("Undefined soft limit set to hard limit (%s) on printer %s.") % (str(softlimit), printer)) 273 if softlimit is not None : 274 self.logger.log_message(_("Undefined soft limit set to hard limit (%s) on printer %s.") % (str(softlimit), printer)) 270 275 if (not options["reset"] and not options["noquota"]) and ((hardlimit is None) or (softlimit is None)) : 271 276 raise PyKotaToolError, _("Both hard and soft limits must be set ! Aborting.")