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/cfax.py

    r539 r555  
    2929class Parser(pdlparser.PDLParser) : 
    3030    """A parser for Structured Fax documents.""" 
     31    format = "Structured Fax" 
    3132    def isValid(self) :         
    3233        """Returns True if data is Structured Fax, else False.""" 
    3334        if self.firstblock.startswith("Sfff") : 
    34             self.logdebug("DEBUG: Input file is in the Structured Fax format.") 
    3535            return True 
    3636        else :