Changeset 1682 for pykota/trunk/pykota
- Timestamp:
- 08/27/04 11:02:34 (20 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
pykota/trunk/pykota/pdlanalyzer.py
r1681 r1682 22 22 # 23 23 # $Log$ 24 # Revision 1.33 2004/08/27 09:02:34 jalet 25 # Forgot to remove some special debugging code... 26 # 24 27 # Revision 1.32 2004/08/27 08:58:50 jalet 25 28 # Relax checks for PCL5 header to accomodate strange printer drivers … … 640 643 return 641 644 642 debugfile = open("/tmp/jerome_debugs_pykota.prn", "w")643 644 645 # Use a temporary file, always seekable contrary to standard input. 645 646 self.infile = tempfile.TemporaryFile(mode="w+b") … … 649 650 break 650 651 self.infile.write(data) 651 debugfile.write(data)652 652 self.infile.flush() 653 653 self.infile.seek(0) 654 655 debugfile.flush()656 debugfile.close()657 654 658 655 def closeFile(self) :