Changeset 1544 for pykota/trunk/pykota/pdlanalyzer.py
- Timestamp:
- 06/18/04 12:09:05 (20 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
pykota/trunk/pykota/pdlanalyzer.py
r1543 r1544 22 22 # 23 23 # $Log$ 24 # Revision 1.5 2004/06/18 10:09:05 jalet 25 # Resets file pointer to start of file in all cases 26 # 24 27 # Revision 1.4 2004/06/18 06:16:14 jalet 25 28 # Fixes PostScript detection code for incorrect drivers … … 403 406 if self.mustclose : 404 407 self.infile.close() 408 else : 409 # if we don't have to close the file, then 410 # ensure the file pointer is reset to the 411 # start of the file in case the process wants 412 # to read the file again. 413 try : 414 self.infile.seek(0) 415 except : 416 pass # probably stdin, which is not seekable 405 417 406 418 def isPostScript(self, data) :