Changeset 757 for pykota/trunk
- Timestamp:
- 02/08/03 10:39:20 (22 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
pykota/trunk/bin/edpykota
r756 r757 17 17 # 18 18 # $Log$ 19 # Revision 1.10 2003/02/08 09:39:20 jalet 20 # typos 21 # 19 22 # Revision 1.9 2003/02/08 09:38:06 jalet 20 23 # Badly placed test … … 173 176 prototype = self.storage.getGroupPQuota(options["prototype"], printer) 174 177 if prototype is None : 175 self.logger. message("Prototype %s not found in Quota Storage for printer %s." % (options["prototype"], printer))178 self.logger.log_message("Prototype %s not found in Quota Storage for printer %s." % (options["prototype"], printer)) 176 179 continue # skip this printer 177 180 else : … … 179 182 if hardlimit is None : 180 183 hardlimit = softlimit 181 self.logger. message("Undefined hard limit set to %i on printer %s." % (hardlimit, printer))184 self.logger.log_message("Undefined hard limit set to %i on printer %s." % (hardlimit, printer)) 182 185 if softlimit is None : 183 186 softlimit = hardlimit 184 self.logger. message("Undefined soft limit set to %i on printer %s." % (softlimit, printer))187 self.logger.log_message("Undefined soft limit set to %i on printer %s." % (softlimit, printer)) 185 188 if (hardlimit is None) or (softlimit is None) : 186 189 raise PyKotaToolError, "Both hard and soft limits must be set ! Aborting."