Changeset 2388 for pykota/trunk/pykota/storage.py
- Timestamp:
- 07/27/05 15:17:28 (19 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
pykota/trunk/pykota/storage.py
r2342 r2388 304 304 upq.PageCounter = int(upq.PageCounter or 0) + jobsize 305 305 upq.LifePageCounter = int(upq.LifePageCounter or 0) + jobsize 306 # TODO : consume from the billing code as well307 306 except PyKotaStorageError, msg : 308 307 self.parent.rollbackTransaction() … … 433 432 def reset(self, balance=0.0, pagecounter=0) : 434 433 """Resets the pagecounter and balance for this billing code.""" 435 self.parent.setBillingCodeValues(self, balance, pagecounter)434 self.parent.setBillingCodeValues(self, pagecounter, balance) 436 435 self.Balance = balance 437 436 self.PageCounter = pagecounter