From 5f75b41fc4c197a6abd54024083851bc34691b81 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jonas=20Borgstr=C3=B6m?= Date: Fri, 1 Jul 2011 22:01:24 +0200 Subject: [PATCH] Process files in alphabetical order --- darc/archiver.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/darc/archiver.py b/darc/archiver.py index a0ee34246..5ecac55d6 100644 --- a/darc/archiver.py +++ b/darc/archiver.py @@ -97,7 +97,7 @@ class Archiver(object): except OSError, e: self.print_error('%s: %s', path, e) else: - for filename in entries: + for filename in sorted(entries): self._process(archive, cache, patterns, skip_inodes, os.path.join(path, filename)) elif stat.S_ISLNK(st.st_mode):