Changeset 2678 for pykota/trunk/pykota/storages/sql.py
- Timestamp:
- 02/12/06 00:26:31 (18 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
pykota/trunk/pykota/storages/sql.py
r2676 r2678 450 450 patterns = billingcodepattern.split(",") 451 451 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) 455 455 code.ident = record.get("id") 456 456 code.Balance = record.get("balance") or 0.0