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

    r532 r555  
    5252class Parser(pdlparser.PDLParser) : 
    5353    """A parser for HP LIDIL documents.""" 
     54    format = "Hewlett-Packard LIDIL" 
    5455    def isValid(self) :     
    5556        """Returns True if data is LIDIL, else False.""" 
     
    6465        if self.firstblock.startswith(BOFMarker) \ 
    6566           and self.lastblock.endswith(EOFMarker) : 
    66             self.logdebug("DEBUG: Input file is in the Hewlett-Packard LIDIL format.") 
    6767            return True 
    6868        else :