Changeset 555 for pkpgcounter/trunk/pkpgpdls/pdlparser.py
- Timestamp:
- 12/09/07 15:26:15 (17 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
pkpgcounter/trunk/pkpgpdls/pdlparser.py
r529 r555 43 43 required = [] # Default list of required commands 44 44 openmode = "rb" # Default file opening mode 45 format = "Unknown" # Default file format 45 46 def __init__(self, parent, filename, (firstblock, lastblock)) : 46 47 """Initialize the generic parser.""" … … 54 55 if not self.isValid() : 55 56 raise PDLParserError, "Invalid file format !" 57 else : 58 self.logdebug("Input file is in the '%s' file format." % self.format) 56 59 try : 57 60 import psyco