Changeset 2345 for pykota/trunk/pykota/tool.py
- Timestamp:
- 07/09/05 16:19:49 (19 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
pykota/trunk/pykota/tool.py
r2344 r2345 40 40 from mx import DateTime 41 41 42 from pykota import config, storage, logger, accounter , pdlanalyzer42 from pykota import config, storage, logger, accounter 43 43 from pykota.version import __version__, __author__, __years__, __gplblurb__ 44 44 45 try : 46 from pkpgpdls import analyzer, pdlparser 47 except ImportError : 48 sys.stderr.write("ERROR: pkpgcounter is now distributed separately, please grab it from http://www.librelogiciel.com/software/pkpgcounter/action_Download\n") 49 45 50 def N_(message) : 46 51 """Fake translation marker for translatable strings extraction.""" … … 759 764 self.jobdatastream.seek(0) 760 765 try : 761 parser = pdlanalyzer.PDLAnalyzer(self.jobdatastream)766 parser = analyzer.PDLAnalyzer(self.jobdatastream) 762 767 jobsize = parser.getJobSize() 763 except pdl analyzer.PDLAnalyzerError, msg :768 except pdlparser.PDLParserError, msg : 764 769 # Here we just log the failure, but 765 770 # we finally ignore it and return 0 since this