Show
Ignore:
Timestamp:
02/12/06 00:26:31 (18 years ago)
Author:
jerome
Message:

Incorrect variable name

Files:
1 modified

Legend:

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

    r2676 r2678  
    16331633            patterns = billingcodepattern.split(",") 
    16341634            for (codeid, fields) in result : 
    1635                 bcode = self.databaseToUserCharset(fields.get("pykotaBillingCode", [""])[0]) 
    1636                 if self.tool.matchString(bcode, patterns) : 
     1635                codename = self.databaseToUserCharset(fields.get("pykotaBillingCode", [""])[0]) 
     1636                if self.tool.matchString(codename, patterns) : 
    16371637                    code = StorageBillingCode(self, codename) 
    16381638                    code.ident = codeid 
    1639                     code.BillingCode = codename 
    16401639                    code.PageCounter = int(fields.get("pykotaPageCounter", [0])[0]) 
    16411640                    code.Balance = float(fields.get("pykotaBalance", [0.0])[0])