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/sql.py

    r2676 r2678  
    450450            patterns = billingcodepattern.split(",") 
    451451            for record in result : 
    452                 bcode = self.databaseToUserCharset(record["billingcode"]) 
    453                 if self.tool.matchString(bcode, patterns) : 
    454                     code = StorageBillingCode(self, bcode) 
     452                codename = self.databaseToUserCharset(record["billingcode"]) 
     453                if self.tool.matchString(codename, patterns) : 
     454                    code = StorageBillingCode(self, codename) 
    455455                    code.ident = record.get("id") 
    456456                    code.Balance = record.get("balance") or 0.0