Changeset 1502 for pykota/trunk/pykota/storage.py
- Timestamp:
- 05/26/04 16:50:12 (20 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
pykota/trunk/pykota/storage.py
r1418 r1502 22 22 # 23 23 # $Log$ 24 # Revision 1.52 2004/05/26 14:49:57 jalet 25 # First try at saving the job-originating-hostname in the database 26 # 24 27 # Revision 1.51 2004/03/24 15:15:24 jalet 25 28 # Began integration of Henrik Janhagen's work on quota-then-balance … … 300 303 raise AttributeError, name 301 304 302 def addJobToHistory(self, jobid, user, pagecounter, action, jobsize=None, jobprice=None, filename=None, title=None, copies=None, options=None ) :305 def addJobToHistory(self, jobid, user, pagecounter, action, jobsize=None, jobprice=None, filename=None, title=None, copies=None, options=None, clienthost=None) : 303 306 """Adds a job to the printer's history.""" 304 self.parent.writeJobNew(self, user, jobid, pagecounter, action, jobsize, jobprice, filename, title, copies, options )307 self.parent.writeJobNew(self, user, jobid, pagecounter, action, jobsize, jobprice, filename, title, copies, options, clienthost) 305 308 # TODO : update LastJob object ? Probably not needed. 306 309 … … 454 457 self.JobCopies = None 455 458 self.JobOptions = None 459 self.JobHostName = None 456 460 457 461 def __getattr__(self, name) :