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

    r522 r555  
    3333class Parser(pdlparser.PDLParser) : 
    3434    """A parser for QPDL (aka SPL2) documents.""" 
     35    format = "QPDL (aka SPL2)" 
    3536    mediasizes = {  
    3637                    # The first values are identical to that of PCLXL 
     
    7677             ((self.firstblock.find("LANGUAGE=QPDL") != -1) or \ 
    7778              (self.firstblock.find("LANGUAGE = QPDL") != -1))) : 
    78             self.logdebug("DEBUG: Input file is in the QPDL (aka SPL2) format.") 
    7979            return True 
    8080        else :