Show
Ignore:
Timestamp:
11/28/07 11:13:33 (16 years ago)
Author:
jerome
Message:

Finally we need to duplicate some datas, since for some file formats (e.g. mstrash)
a preliminary conversion will have to be done (through wvware for example) and we
would need to overwrite original values, which is not desirable.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • pkpgcounter/trunk/pkpgpdls/qpdl.py

    r520 r522  
    7373    def isValid(self) :     
    7474        """Returns True if data is QPDL aka SPL2, else False.""" 
    75         if ((self.parent.firstblock[:128].find("\033%-12345X") != -1) and \ 
    76              ((self.parent.firstblock.find("LANGUAGE=QPDL") != -1) or \ 
    77               (self.parent.firstblock.find("LANGUAGE = QPDL") != -1))) : 
     75        if ((self.firstblock[:128].find("\033%-12345X") != -1) and \ 
     76             ((self.firstblock.find("LANGUAGE=QPDL") != -1) or \ 
     77              (self.firstblock.find("LANGUAGE = QPDL") != -1))) : 
    7878            self.logdebug("DEBUG: Input file is in the QPDL (aka SPL2) format.") 
    7979            return True