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

    r522 r555  
    3232class Parser(pdlparser.PDLParser) : 
    3333    """A parser for HBP documents.""" 
     34    format = "Brother HBP" 
    3435    def isValid(self) :         
    3536        """Returns True if data is HBP, else False.""" 
    3637        if self.firstblock.find("@PJL ENTER LANGUAGE = HBP\n") != -1 : 
    37             self.logdebug("DEBUG: Input file is in the HBP format.") 
    3838            return True 
    3939        else :