Changeset 425 for pkpgcounter/trunk/pkpgpdls/pdlparser.py
- Timestamp:
- 10/16/06 18:31:45 (18 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
pkpgcounter/trunk/pkpgpdls/pdlparser.py
r415 r425 90 90 """ 91 91 if self.totiffcommand : 92 child = popen2.Popen4(self.totiffcommand % locals()) 92 commandline = self.totiffcommand % locals() 93 child = popen2.Popen4(commandline) 93 94 try : 94 95 try : … … 97 98 child.tochild.write(data) 98 99 data = self.infile.read(MEGABYTE) 99 child.tochild.flush()100 child.tochild.close()101 100 except (IOError, OSError), msg : 102 101 raise PDLParserError, "Problem during conversion to TIFF : %s" % msg 103 102 finally : 103 child.tochild.close() 104 104 child.fromchild.close() 105 105