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

    r527 r555  
    3434    totiffcommands = [ 'cp "%(infname)s" "%(outfname)s"' ] 
    3535    required = [ "cp" ] 
     36    format = "TIFF" 
    3637    def isValid(self) :         
    3738        """Returns True if data is TIFF, else False.""" 
     
    3940        bigendian = (chr(0x4d)*2) + chr(0) + chr(0x2a) 
    4041        if self.firstblock[:4] in (littleendian, bigendian) : 
    41             self.logdebug("DEBUG: Input file is in the TIFF format.") 
    4242            return True 
    4343        else :