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

    r553 r555  
    3030class Parser(pdlparser.PDLParser) : 
    3131    """A parser for Canon BJ documents.""" 
     32    format = "Canon BJ/BJC" 
    3233    def isValid(self) :         
    3334        """Returns True if data is BJ/BJC, else False.""" 
    3435        if self.firstblock.startswith("\033[K\002\000") : 
    35             self.logdebug("DEBUG: Input file is in the Canon BJ format.") 
    3636            return True 
    3737        else :