Changeset 560 for pkpgcounter/trunk/pkpgpdls/postscript.py
- Timestamp:
- 12/28/07 17:51:17 (17 years ago)
- Files:
-
- 1 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