Changeset 2373
- Timestamp:
- 07/18/05 16:49:43 (19 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
pykota/trunk/pykota/storages/ldapstorage.py
r2372 r2373 1369 1369 """Extracts billing code information given its label : returns first matching billing code.""" 1370 1370 code = StorageBillingCode(self, label) 1371 result = self.doSearch("(&(objectClass=pykotaBilling)(pykotaBillingCode=%s))" % label ), ["pykotaBillingCode", "pykotaBalance", "pykotaPageCounter", "description"], base=self.info["billingcodebase"])1371 result = self.doSearch("(&(objectClass=pykotaBilling)(pykotaBillingCode=%s))" % label, ["pykotaBillingCode", "pykotaBalance", "pykotaPageCounter", "description"], base=self.info["billingcodebase"]) 1372 1372 if result : 1373 1373 fields = result[0][1] # take only first matching code, ignore the rest