Changeset 447 for pkpgcounter/trunk/pkpgpdls/postscript.py
- Timestamp:
- 01/23/07 10:23:29 (18 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
pkpgcounter/trunk/pkpgpdls/postscript.py
r444 r447 101 101 elif line.startswith(r"%%Pages: ") : 102 102 try : 103 pagescomment = int(line.split()[1])103 pagescomment = max(pagescomment or 0, int(line.split()[1])) 104 104 except ValueError : 105 105 pass # strange, to say the least