Show
Ignore:
Timestamp:
11/28/07 20:48:45 (17 years ago)
Author:
jerome
Message:

Finalized support for MS documents.

Files:
1 modified

Legend:

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

    r527 r529  
    4343    required = []               # Default list of required commands 
    4444    openmode = "rb"             # Default file opening mode 
    45     def __init__(self, parent, (firstblock, lastblock)) : 
     45    def __init__(self, parent, filename, (firstblock, lastblock)) : 
    4646        """Initialize the generic parser.""" 
    4747        self.parent = parent 
    4848        # We need some copies for later inclusion of parsers which 
    4949        # would modify the parent's values 
    50         self.filename = parent.filename[:] 
     50        self.filename = filename[:] 
    5151        self.firstblock = firstblock[:] 
    5252        self.lastblock = lastblock[:]