- Timestamp:
- 04/18/03 10:34:51 (22 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
pykota/trunk/bin/repykota
r946 r949 23 23 # 24 24 # $Log$ 25 # Revision 1.30 2003/04/18 08:34:51 jalet 26 # Minor fix. 27 # 25 28 # Revision 1.29 2003/04/18 08:29:30 jalet 26 29 # Minor bug fix … … 243 246 else : 244 247 reached = (((softlimit is not None) and (pagecounter >= softlimit) and "+") or "-") + "Q" 245 strbalance = ("%5.2f" % (balance or 0.0))[:10] 246 strlifetimepaid = ("%6.2f" % (lifetimepaid or 0.0))[:10] 248 balance = balance or 0.0 249 lifetimepaid = lifetimepaid or 0.0 250 strbalance = ("%5.2f" % balance)[:10] 251 strlifetimepaid = ("%6.2f" % lifetimepaid)[:10] 247 252 print "%-9.9s %s %7i %7s %7s %10s %-10.10s %8i %10s" % (name, reached, pagecounter, str(softlimit), str(hardlimit), strbalance, str(datelimit)[:10], lifepagecounter, strlifetimepaid) 248 253 return (lifepagecounter, lifetimepaid)