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

    r527 r555  
    3333    required = [ "a2ps | enscript", "gs" ] 
    3434    openmode = "rU"                  
     35    format = "plain text" 
    3536    def isValid(self) :     
    3637        """Returns True if data is plain text, else False. 
     
    4647                lines = lines[0].split("\n") 
    4748        if len(lines) > 1 : 
    48             self.logdebug("DEBUG: Input file seems to be in the plain text format.") 
    4949            return True 
    5050        else :