Changeset 1520 for pykota/trunk/pykota/storage.py
- Timestamp:
- 06/04/04 01:14:11 (20 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
pykota/trunk/pykota/storage.py
r1502 r1520 22 22 # 23 23 # $Log$ 24 # Revision 1.53 2004/06/03 23:14:10 jalet 25 # Now stores the job's size in bytes in the database. 26 # Preliminary work on payments storage : database schemas are OK now, 27 # but no code to store payments yet. 28 # Removed schema picture, not relevant anymore. 29 # 24 30 # Revision 1.52 2004/05/26 14:49:57 jalet 25 31 # First try at saving the job-originating-hostname in the database … … 303 309 raise AttributeError, name 304 310 305 def addJobToHistory(self, jobid, user, pagecounter, action, jobsize=None, jobprice=None, filename=None, title=None, copies=None, options=None, clienthost=None ) :311 def addJobToHistory(self, jobid, user, pagecounter, action, jobsize=None, jobprice=None, filename=None, title=None, copies=None, options=None, clienthost=None, jobsizebytes=None) : 306 312 """Adds a job to the printer's history.""" 307 self.parent.writeJobNew(self, user, jobid, pagecounter, action, jobsize, jobprice, filename, title, copies, options, clienthost )313 self.parent.writeJobNew(self, user, jobid, pagecounter, action, jobsize, jobprice, filename, title, copies, options, clienthost, jobsizebytes) 308 314 # TODO : update LastJob object ? Probably not needed. 309 315 … … 449 455 self.JobId = None 450 456 self.PrinterPageCounter = None 457 self.JobSizeBytes = None 451 458 self.JobSize = None 452 459 self.JobAction = None