From 1a741fdb033fff74edc48c899c7d9d10479e847a Mon Sep 17 00:00:00 2001 From: Brian Warner Date: Thu, 12 Mar 2009 23:50:46 -0700 Subject: [PATCH] dirnode.py: when doing deep-traverse, walk each directory in alphabetical order, to make things like 'manifest' more predictable --- src/allmydata/dirnode.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/allmydata/dirnode.py b/src/allmydata/dirnode.py index 27c840d9..0aee386b 100644 --- a/src/allmydata/dirnode.py +++ b/src/allmydata/dirnode.py @@ -526,7 +526,7 @@ class NewDirectoryNode: # in the nodecache) seem to consume about 2000 bytes. dirkids = [] filekids = [] - for name, (child, metadata) in children.iteritems(): + for name, (child, metadata) in sorted(children.iteritems()): verifier = child.get_verify_cap() # allow LIT files (for which verifier==None) to be processed if (verifier is not None) and (verifier in found): -- 2.45.2