Show
Ignore:
Timestamp:
05/26/04 16:50:12 (20 years ago)
Author:
jalet
Message:

First try at saving the job-originating-hostname in the database

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • pykota/trunk/pykota/storage.py

    r1418 r1502  
    2222# 
    2323# $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# 
    2427# Revision 1.51  2004/03/24 15:15:24  jalet 
    2528# Began integration of Henrik Janhagen's work on quota-then-balance 
     
    300303            raise AttributeError, name 
    301304             
    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) : 
    303306        """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) 
    305308        # TODO : update LastJob object ? Probably not needed. 
    306309         
     
    454457        self.JobCopies = None 
    455458        self.JobOptions = None 
     459        self.JobHostName = None 
    456460         
    457461    def __getattr__(self, name) :