Changeset 2857
- Timestamp:
- 04/10/06 10:18:44 (19 years ago)
- Location:
- pykota/trunk
- Files:
-
- 3 modified
Legend:
- Unmodified
- Added
- Removed
-
pykota/trunk/NEWS
r2856 r2857 22 22 PyKota NEWS : 23 23 24 - 1.25alpha1 (2006-04-10) : 25 26 - Ensures that the denied banners counter is properly initialized 27 with relationnal databases. 28 24 29 - 1.24 (2006-04-08) : 25 30 -
pykota/trunk/pykota/storages/sql.py
r2830 r2857 274 274 userpquota.HardLimit = fields.get("hardlimit") 275 275 userpquota.DateLimit = fields.get("datelimit") 276 userpquota.WarnCount = fields.get("warncount") 276 userpquota.WarnCount = fields.get("warncount") or 0 277 277 userpquota.Exists = 1 278 278 return userpquota … … 513 513 userpquota.HardLimit = record.get("hardlimit") 514 514 userpquota.DateLimit = record.get("datelimit") 515 userpquota.WarnCount = record.get("warncount") 515 userpquota.WarnCount = record.get("warncount") or 0 516 516 userpquota.Exists = 1 517 517 usersandquotas.append((user, userpquota)) … … 618 618 self.doQuote(upq.SoftLimit), \ 619 619 self.doQuote(upq.HardLimit), \ 620 self.doQuote(upq.WarnCount ), \620 self.doQuote(upq.WarnCount or 0), \ 621 621 self.doQuote(upq.DateLimit), \ 622 622 self.doQuote(upq.PageCounter or 0), \ … … 731 731 % (self.doQuote(userpquota.SoftLimit), \ 732 732 self.doQuote(userpquota.HardLimit), \ 733 self.doQuote(userpquota.WarnCount ), \733 self.doQuote(userpquota.WarnCount or 0), \ 734 734 self.doQuote(userpquota.DateLimit), \ 735 735 self.doQuote(userpquota.PageCounter or 0), \ -
pykota/trunk/pykota/version.py
r2851 r2857 22 22 # 23 23 24 __version__ = "1.2 4_unofficial"24 __version__ = "1.25_alpha1" 25 25 26 26 __doc__ = "PyKota : a complete Printing Quota Solution for CUPS."