summaryrefslogtreecommitdiff
path: root/regtest
diff options
context:
space:
mode:
Diffstat (limited to 'regtest')
-rw-r--r--regtest/backends/__init__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/regtest/backends/__init__.py b/regtest/backends/__init__.py
index b57d8aa4..7d0ab8d7 100644
--- a/regtest/backends/__init__.py
+++ b/regtest/backends/__init__.py
@@ -67,7 +67,7 @@ class Backend:
path = os.path.join(refs_path, self._name)
md5_file = open(path + '.md5', 'w')
- for entry in os.listdir(refs_path):
+ for entry in sorted(os.listdir(refs_path)):
if not self.__should_have_checksum(entry):
continue
ref_path = os.path.join(refs_path, entry)