Changeset 432 for pkpgcounter/trunk/pkpgpdls/pdlparser.py
- Timestamp:
- 10/27/06 23:19:25 (18 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
pkpgcounter/trunk/pkpgpdls/pdlparser.py
r429 r432 67 67 # Psyco is installed, tell it to compile 68 68 # the CPU intensive methods : PCL and PCLXL 69 # parsing will greatly benefit from this, 70 # for PostScript and PDF the difference is 71 # barely noticeable since they are already 72 # almost optimal, and much more speedy anyway. 69 # parsing will greatly benefit from this. 73 70 psyco.bind(self.getJobSize) 74 71 … … 111 108 112 109 try : 113 child.wait()110 status = child.wait() 114 111 except OSError : 115 112 error = True 113 else : 114 if os.WIFEXITED(status) : 115 if os.WEXITSTATUS(status) : 116 error = True 117 else : 118 error = True 116 119 117 120 if not os.path.exists(fname) :