Changeset 200 for pkpgcounter/trunk/pdlanalyzer/pdf.py
- Timestamp:
- 04/04/05 14:18:36 (20 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
pkpgcounter/trunk/pdlanalyzer/pdf.py
r196 r200 25 25 import re 26 26 27 from pdlanalyzer .pdlparser import PDLParser, PDLParserError27 from pdlanalyzer import pdlparser 28 28 29 class PDFParser( PDLParser) :29 class PDFParser(pdlparser.PDLParser) : 30 30 """A parser for PDF documents.""" 31 31 def getJobSize(self) : … … 52 52 parser = PDFParser(infile, debug=1) 53 53 totalsize += parser.getJobSize() 54 except PDLParserError, msg :54 except pdlparser.PDLParserError, msg : 55 55 sys.stderr.write("ERROR: %s\n" % msg) 56 56 sys.stderr.flush()