Changeset 1848 for pykota/trunk/bin/lprngpykota
- Timestamp:
- 10/19/04 23:37:57 (20 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
pykota/trunk/bin/lprngpykota
r1820 r1848 24 24 # 25 25 # $Log$ 26 # Revision 1.9 2004/10/19 21:37:57 jalet 27 # Fixes recently introduced bug 28 # 26 29 # Revision 1.8 2004/10/13 20:51:27 jalet 27 30 # Made debugging levels be the same in cupspykota and lprngpykota. … … 158 161 # update the quota for the current user on this printer 159 162 self.printMoreInfo(user, printer, _("Job size : %i") % jobsize) 160 self. logdebug("Updating user %s's quota on printer %s"% (user.Name, printer.Name))163 self.printInfo(_("Updating user %s's quota on printer %s") % (user.Name, printer.Name)) 161 164 jobprice = userpquota.increasePagesUsage(jobsize) 162 165 … … 193 196 # in second pass, so all work is already done, 194 197 # now we just have to exit successfully 195 self.print MoreInfo(user, printer,_("Software accounting already done in first pass. Ignoring."))198 self.printInfo(_("Software accounting already done in first pass. Ignoring.")) 196 199 elif printer.LastJob.JobAction == "DENY" : 197 200 # Hardware accounting method was used, but job 198 201 # was rejected during first pass, so nothing to do 199 self.print MoreInfo(user, printer,_("Hardware accounting already done in first pass. Ignoring."))202 self.printInfo(_("Hardware accounting already done in first pass. Ignoring.")) 200 203 else : 201 204 # here if user and userpquota are both None