Changeset 2057 for pykota/trunk/pykota/storages/ldapstorage.py
- Timestamp:
- 02/13/05 23:48:38 (19 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
pykota/trunk/pykota/storages/ldapstorage.py
r2054 r2057 22 22 # 23 23 # $Log$ 24 # Revision 1.101 2005/02/13 22:48:37 jalet 25 # Added the md5sum to the history 26 # 24 27 # Revision 1.100 2005/02/13 22:02:29 jalet 25 28 # Big database structure changes. Upgrade script is now included as well as … … 1234 1237 self.doModify(lastjob.ident, fields) 1235 1238 1236 def writeJobNew(self, printer, user, jobid, pagecounter, action, jobsize=None, jobprice=None, filename=None, title=None, copies=None, options=None, clienthost=None, jobsizebytes=None ) :1239 def writeJobNew(self, printer, user, jobid, pagecounter, action, jobsize=None, jobprice=None, filename=None, title=None, copies=None, options=None, clienthost=None, jobsizebytes=None, jobmd5sum=None) : 1237 1240 """Adds a job in a printer's history.""" 1238 1241 if (not self.disablehistory) or (not printer.LastJob.Exists) : … … 1259 1262 "pykotaHostName" : str(clienthost), 1260 1263 "pykotaJobSizeBytes" : str(jobsizebytes), 1261 # TODO : add the 3 missing fields1264 "pykotaMD5Sum" : str(jobmd5sum), 1262 1265 } 1263 1266 if (not self.disablehistory) or (not printer.LastJob.Exists) :