Changeset 1765 for pykota/trunk
- Timestamp:
- 10/03/04 21:57:57 (20 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
pykota/trunk/pykota/storages/ldapstorage.py
r1764 r1765 22 22 # 23 23 # $Log$ 24 # Revision 1.80 2004/10/03 19:57:57 jalet 25 # Dump of payments should work with LDAP backend now. 26 # 24 27 # Revision 1.79 2004/10/03 19:52:59 jalet 25 28 # More work done on LDAP and dumpykota … … 1322 1325 def extractPayments(self) : 1323 1326 """Extracts all payment records.""" 1324 pass 1327 entries = [u for u in [self.getUser(name) for name in self.getAllUsersNames()] if u.Exists] 1328 if entries : 1329 result = [ ("pykotaUserName", "date", "amount") ] 1330 for entry in entries : 1331 for (date, amount) in entry.Payments : 1332 result.append((entry.Name, date, amount)) 1333 return result 1325 1334 1326 1335 def extractUpquotas(self) :