Changeset 977
- Timestamp:
- 04/30/03 15:40:47 (22 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
pykota/trunk/pykota/accounters/stupid.py
r976 r977 21 21 # 22 22 # $Log$ 23 # Revision 1.2 2003/04/30 13:40:47 jalet 24 # Small fix 25 # 23 26 # Revision 1.1 2003/04/30 13:36:40 jalet 24 27 # Stupid accounting method was added. … … 52 55 # Last lifetime page counter before actual job is 53 56 # last page counter + last job size 54 counterbeforejob = pgc["pagecounter"] + pgc["jobsize"]57 counterbeforejob = (pgc["pagecounter"] or 0) + (pgc["jobsize"] or 0) 55 58 56 59 # Is the current user allowed to print at all ?