Changeset 1374 for pykota/trunk/pykota/tool.py
- Timestamp:
- 03/01/04 15:34:15 (20 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
pykota/trunk/pykota/tool.py
r1372 r1374 22 22 # 23 23 # $Log$ 24 # Revision 1.76 2004/03/01 14:34:15 jalet 25 # PYKOTAPHASE wasn't set at the right time at the end of data transmission 26 # to underlying layer (real backend) 27 # 24 28 # Revision 1.75 2004/03/01 11:23:25 jalet 25 29 # Pre and Post hooks to external commands are available in the cupspykota … … 749 753 def prehook(self, userpquota) : 750 754 """Allows pluging of an external hook before the job gets printed.""" 751 os.putenv("PYKOTAPHASE", "BEFORE")752 755 prehook = self.config.getPreHook(userpquota.Printer.Name) 753 756 if prehook : … … 757 760 def posthook(self, userpquota) : 758 761 """Allows pluging of an external hook after the job gets printed and/or denied.""" 759 os.putenv("PYKOTAPHASE", "AFTER")760 762 posthook = self.config.getPostHook(userpquota.Printer.Name) 761 763 if posthook :