]> git.rkrishnan.org Git - tahoe-lafs/tahoe-lafs.git/commitdiff
filetable: oops, os.listdir() does not guarantee sorted results
authorBrian Warner <warner@lothar.com>
Sat, 20 Jan 2007 20:02:26 +0000 (13:02 -0700)
committerBrian Warner <warner@lothar.com>
Sat, 20 Jan 2007 20:02:26 +0000 (13:02 -0700)
src/allmydata/filetable.py

index f0f2b492b170e10356633513bc59e5996c7e72d0..53263bba4c376fbc9a897cc56f3553729a8e9d62 100644 (file)
@@ -46,7 +46,7 @@ class MutableDirectoryNode(Referenceable):
                 f.close()
                 results.append( (name, data) )
             # anything else is ignored
-        return results
+        return sorted(results)
     remote_list = list
 
     def get(self, name):