- Timestamp:
- 1 Nov 2011, 08:34:05 (13 years ago)
- Location:
- main/waeup.sirp/trunk/src/waeup/sirp
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.sirp/trunk/src/waeup/sirp/imagestorage.py
r6528 r6980 58 58 blobs that has to be called explicitly, for instance in tests. 59 59 """ 60 key_list = self.keys()60 key_list = list(self.keys()) 61 61 for key in key_list: 62 62 item = self[key] -
main/waeup.sirp/trunk/src/waeup/sirp/testing.py
r6754 r6980 290 290 if collector is None: 291 291 return 292 keys = collector.keys()292 keys = list(collector.keys()) 293 293 for key in keys: 294 294 del collector[key] -
main/waeup.sirp/trunk/src/waeup/sirp/university/certificate.py
r6839 r6980 41 41 """Delete a course referrer denoted by its code. 42 42 """ 43 for key in self.keys(): 43 keys = list(self.keys()) # create list copy 44 for key in keys: 44 45 if self[key].getCourseCode() != code: 45 46 continue
Note: See TracChangeset for help on using the changeset viewer.