Changeset 376 for pkpgcounter/trunk/pkpgpdls/analyzer.py
- Timestamp:
- 08/27/06 00:41:23 (18 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
pkpgcounter/trunk/pkpgpdls/analyzer.py
r370 r376 242 242 totalsize += parser.getJobSize() 243 243 else : 244 result = parser.getInkCoverage() 245 totalsize += len(result) 246 print result 244 (cspace, pages) = parser.getInkCoverage() 245 totalsize += len(pages) 246 for page in pages : 247 for k in cspace : 248 try : 249 print "%s : %f " % (k, page[k]), 250 except KeyError : 251 pass 252 print 247 253 except (IOError, pdlparser.PDLParserError), msg : 248 254 sys.stderr.write("ERROR: %s\n" % msg)