Changeset 791 for pykota/trunk/bin/edpykota
- Timestamp:
- 02/10/03 13:07:31 (21 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
pykota/trunk/bin/edpykota
r775 r791 17 17 # 18 18 # $Log$ 19 # Revision 1.20 2003/02/10 12:07:30 jalet 20 # Now repykota should output the recorded total page number for each printer too. 21 # 19 22 # Revision 1.19 2003/02/09 13:40:29 jalet 20 23 # typo … … 177 180 if self.isValidName(pname) : 178 181 self.storage.addPrinter(pname) 179 printernames = [ pname]182 printernames = [ (pname, 0) ] 180 183 else : 181 184 raise PyKotaToolError, _("Invalid printer name %s") % pname … … 197 200 self.logger.log_message(_("Hard limit %i is less than soft limit %i, values will be exchanged.") % (hardlimit, softlimit), "warn") 198 201 (softlimit, hardlimit) = (hardlimit, softlimit) 199 for printerin printernames :202 for (printer, printerpagecounter) in printernames : 200 203 if options["prototype"] : 201 204 if options["users"] :