Show
Ignore:
Timestamp:
12/09/07 15:26:15 (17 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/escpages03.py

    r522 r555  
    3333class Parser(pdlparser.PDLParser) : 
    3434    """A parser for ESC/PageS03 documents.""" 
     35    format = "ESC/PageS03" 
    3536    def isValid(self) :         
    3637        """Returns True if data is TIFF, else False.""" 
    3738        if self.firstblock.startswith("\033\1@EJL") and \ 
    3839            (self.firstblock.find("=ESC/PAGES03\n") != -1) : 
    39             self.logdebug("DEBUG: Input file is in the ESC/PageS03 format.") 
    4040            return True 
    4141        else :