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

    r533 r555  
    3434class Parser(pdlparser.PDLParser) : 
    3535    """A parser for SPL1 documents.""" 
     36    format = "SPL1 (aka GDI)" 
    3637    def isValid(self) :     
    3738        """Returns True if data is SPL1, else False.""" 
     
    4041             ((self.firstblock.find("LANGUAGE=SMART") != -1) or \ 
    4142              (self.firstblock.find("LANGUAGE = SMART") != -1))) : 
    42             self.logdebug("DEBUG: Input file is in the SPL1 format.") 
    4343            return True 
    4444        else :