[Zope3-checkins] CVS: Zope3/src/zope/fssync - snarf.py:1.3

Guido van Rossum guido@python.org
Tue, 27 May 2003 10:45:37 -0400


Update of /cvs-repository/Zope3/src/zope/fssync
In directory cvs.zope.org:/tmp/cvs-serv24801

Modified Files:
	snarf.py 
Log Message:
Sort the names from the directory listing -- that's easier for testing
and more predictable.


=== Zope3/src/zope/fssync/snarf.py 1.2 => 1.3 ===
--- Zope3/src/zope/fssync/snarf.py:1.2	Tue May 27 10:03:04 2003
+++ Zope3/src/zope/fssync/snarf.py	Tue May 27 10:45:36 2003
@@ -57,6 +57,7 @@
             def filter(fspath):
                 return True
         names = os.listdir(root)
+        names.sort()
         for name in names:
             fspath = os.path.join(root, name)
             if not filter(fspath):