Changeset 555 for pkpgcounter/trunk/pkpgpdls/postscript.py
- Timestamp:
- 12/09/07 15:26:15 (17 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
pkpgcounter/trunk/pkpgpdls/postscript.py
r527 r555 34 34 required = [ "gs" ] 35 35 openmode = "rU" 36 format = "PostScript" 36 37 def isValid(self) : 37 38 """Returns True if data is PostScript, else False.""" … … 44 45 (self.firstblock.find("LANGUAGE = Postscript") != -1))) or \ 45 46 (self.firstblock.find("%!PS-Adobe") != -1) : 46 self.logdebug("DEBUG: Input file is in the PostScript format.")47 47 return True 48 48 else :