Changeset 560 for pkpgcounter
- Timestamp:
- 12/28/07 17:51:17 (17 years ago)
- Location:
- pkpgcounter/trunk/pkpgpdls
- Files:
-
- 2 modified
Legend:
- Unmodified
- Added
- Removed
-
pkpgcounter/trunk/pkpgpdls/postscript.py
r555 r560 168 168 if number > self.pages[pagecount]["copies"] : 169 169 self.pages[pagecount]["copies"] = number 170 else : 171 parts = line.split() 172 if (len(parts) > 1) and (parts[1] == "@copies") : 173 try : 174 number = int(parts[0]) 175 except : 176 pass 177 else : 178 if number > self.pages[pagecount]["copies"] : 179 self.pages[pagecount]["copies"] = number 170 180 previousline = line 171 181 -
pkpgcounter/trunk/pkpgpdls/version.py
r557 r560 22 22 23 23 24 __version__ = "3.5 0"24 __version__ = "3.51alpha" 25 25 26 26 __doc__ = """pkpgcounter : a generic Page Description Languages parser."""