Changeset 4570
- Timestamp:
- 25 Dec 2009, 12:41:28 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
waeup/branches/ulif-rewrite/src/waeup/datacenter.py
r4277 r4570 67 67 def getFiles(self): 68 68 """Get a list of files stored in `storage`. 69 70 Files are sorted by basename. 69 71 """ 70 72 result = [] 71 73 if not os.path.exists(self.storage): 72 74 return result 73 for filename in os.listdir(self.storage):75 for filename in sorted(os.listdir(self.storage)): 74 76 fullpath = os.path.join(self.storage, filename) 75 77 if not os.path.isfile(fullpath):
Note: See TracChangeset for help on using the changeset viewer.