Changeset 905 for pykota/trunk/bin
- Timestamp:
- 04/11/03 16:42:54 (22 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
pykota/trunk/bin/repykota
r904 r905 23 23 # 24 24 # $Log$ 25 # Revision 1.2 2 2003/04/11 12:33:13jalet26 # Displays WARN or DENY if datelimit is not set too.25 # Revision 1.23 2003/04/11 14:42:54 jalet 26 # Translations 27 27 # 28 28 # Revision 1.21 2003/04/10 21:47:20 jalet … … 198 198 if now >= datelimit : 199 199 datelimit = "DENY" 200 elif pagecounter >= hardlimit :201 datelimit = "DENY"202 elif pagecounter >= softlimit :203 datelimit = "WARN"204 200 else : 205 201 datelimit = "" … … 207 203 print "%-10.10s %c %8i %8s %8s %10s %9i" % (name, reached, pagecounter, str(softlimit), str(hardlimit), str(datelimit)[:10], lifepagecounter) 208 204 return lifepagecounter 205 209 206 210 207 if __name__ == "__main__" :