Changeset 3372

Show
Ignore:
Timestamp:
05/27/08 08:03:48 (16 years ago)
Author:
jerome
Message:

Fixed a problem when refunding jobs with an LDAP backend, thanks to
Daniel Houlbrooke.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • pykota/trunk/pykota/storages/ldapstorage.py

    r3364 r3372  
    18461846    def refundJob(self, jobident) :    
    18471847        """Marks a job as refunded in the history.""" 
    1848         dn = "cn=%s,%s" % (ident, self.info["jobbase"]) 
    18491848        fields = { 
    18501849                     "pykotaAction" : "REFUND", 
    18511850                 }     
    1852         self.doModify(dn, fields)          
     1851        self.doModify(jobident, fields)          
    18531852         
    18541853    def storageUserFromRecord(self, username, record) :