Changeset 2066 for pykota/trunk/bin/lprngpykota
- Timestamp:
- 02/16/05 01:29:33 (19 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
pykota/trunk/bin/lprngpykota
r2062 r2066 24 24 # 25 25 # $Log$ 26 # Revision 1.17 2005/02/16 00:29:33 jalet 27 # Fixed the maxdenybanners directive. 28 # Introduced the denyduplicates directive. 29 # Fixed some database related glitches. 30 # 26 31 # Revision 1.16 2005/02/14 23:39:50 jalet 27 32 # Introduces the new 'trustjobsize' directive to workaround some printers … … 156 161 self.printMoreInfo(user, printer, _("Job contains no data. Printing is denied."), "warn") 157 162 action = "DENY" 163 elif self.config.getDenyDuplicates(printer.Name) \ 164 and printer.LastJob.Exists \ 165 and (printer.LastJob.UserName == user.Name) \ 166 and (printer.LastJob.JobMD5Sum == self.checksum) : 167 self.printMoreInfo(user, printer, _("Job is a duplicate. Printing is denied."), "warn") 168 action = "DENY" 158 169 else : 159 170 # checks the user's quota