Changeset 2066 for pykota/trunk/pykota/config.py
- Timestamp:
- 02/16/05 01:29:33 (19 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
pykota/trunk/pykota/config.py
r2062 r2066 22 22 # 23 23 # $Log$ 24 # Revision 1.61 2005/02/16 00:29:33 jalet 25 # Fixed the maxdenybanners directive. 26 # Introduced the denyduplicates directive. 27 # Fixed some database related glitches. 28 # 24 29 # Revision 1.60 2005/02/14 23:39:50 jalet 25 30 # Introduces the new 'trustjobsize' directive to workaround some printers … … 604 609 return self.isTrue(self.getGlobalOption("reject_unknown", ignore=1)) 605 610 611 def getDenyDuplicates(self, printername) : 612 """Returns 1 if we want to deny duplicate jobs, else 0.""" 613 try : 614 return self.isTrue(self.getPrinterOption(printername, "denyduplicates")) 615 except PyKotaConfigError : 616 return 0 617 606 618 def getWinbindSeparator(self) : 607 619 """Returns the winbind separator's value if it is set, else None."""