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

    r527 r555  
    3434    totiffcommands = [ 'dvips -q -o - "%(infname)s" | gs -sDEVICE=tiff24nc -dPARANOIDSAFER -dNOPAUSE -dBATCH -dQUIET -r"%(dpi)i" -sOutputFile="%(outfname)s" -' ] 
    3535    required = [ "dvips", "gs" ] 
     36    format = "DVI" 
    3637    def isValid(self) :         
    3738        """Returns True if data is DVI, else False.""" 
     
    3940            if (ord(self.firstblock[0]) == 0xf7) \ 
    4041                and (ord(self.lastblock[-1]) == 0xdf) : 
    41                 self.logdebug("DEBUG: Input file is in the DVI format.") 
    4242                return True 
    4343            else :