Changeset 3458
- Timestamp:
- 11/25/08 00:48:28 (16 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
pykota/trunk/bin/cupspykota
r3446 r3458 224 224 # the environment before launching the real backend 225 225 self.logdebug("Initializing backend...") 226 226 self.softwareJobSize = None 227 227 if not self.checkCUPSVersion() : 228 228 self.printInfo("BEWARE : CUPS is too old. You should use CUPS v1.3.4 or higher.", "error") … … 1328 1328 raise KeyboardInterrupt 1329 1329 wrapper.saveDatasAndCheckSum() 1330 wrapper.exportJobInfo() # exports a first time to give hints to external scripts 1330 1331 wrapper.preaccounter = openAccounter(wrapper, ispreaccounter=1) 1331 1332 wrapper.accounter = openAccounter(wrapper) 1332 1333 wrapper.precomputeJobSize() 1333 wrapper.exportJobInfo() # exports a first time to give hints to external scripts1334 wrapper.exportJobInfo() # exports a second time, now that we know the job's size. TODO : don't reexport all 1334 1335 wrapper.overwriteJobAttributes() 1335 wrapper.exportJobInfo() # re-exports in case it was overwritten 1336 wrapper.exportJobInfo() # re-exports in case it was overwritten. TODO : don't reexport all. 1336 1337 retcode = wrapper.mainWork() 1337 1338 except KeyboardInterrupt :