Show
Ignore:
Timestamp:
12/09/07 15:26:15 (16 years ago)
Author:
jerome
Message:

Each parser now has a 'format' attribute containing its short name.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • pkpgcounter/trunk/pkpgpdls/postscript.py

    r527 r555  
    3434    required = [ "gs" ] 
    3535    openmode = "rU" 
     36    format = "PostScript" 
    3637    def isValid(self) :     
    3738        """Returns True if data is PostScript, else False.""" 
     
    4445              (self.firstblock.find("LANGUAGE = Postscript") != -1))) or \ 
    4546              (self.firstblock.find("%!PS-Adobe") != -1) : 
    46             self.logdebug("DEBUG: Input file is in the PostScript format.") 
    4747            return True 
    4848        else :