Changeset 520 for pkpgcounter/trunk/pkpgpdls/qpdl.py
- Timestamp:
- 11/28/07 00:52:52 (17 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
pkpgcounter/trunk/pkpgpdls/qpdl.py
r491 r520 73 73 def isValid(self) : 74 74 """Returns True if data is QPDL aka SPL2, else False.""" 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))) :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))) : 78 78 self.logdebug("DEBUG: Input file is in the QPDL (aka SPL2) format.") 79 79 return True