summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoriancottrell@chromium.org <iancottrell@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-01-14 18:50:54 +0000
committeriancottrell@chromium.org <iancottrell@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-01-14 18:50:54 +0000
commit9bc1541dca1fcd60e28d49a2850e8a85564225f8 (patch)
tree5976061147fc22cd07b9ab413d3f5f09289e35cc
parent7aea00e4e7b6a31cd5776e416fe29f08198fb8e1 (diff)
downloadchromium_src-9bc1541dca1fcd60e28d49a2850e8a85564225f8.zip
chromium_src-9bc1541dca1fcd60e28d49a2850e8a85564225f8.tar.gz
chromium_src-9bc1541dca1fcd60e28d49a2850e8a85564225f8.tar.bz2
[cr tool] Make cr module load deterministic
BUG=327610 Review URL: https://codereview.chromium.org/132993005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@244776 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r--tools/cr/cr/loader.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/cr/cr/loader.py b/tools/cr/cr/loader.py
index ecb251b..51dc940 100644
--- a/tools/cr/cr/loader.py
+++ b/tools/cr/cr/loader.py
@@ -65,7 +65,7 @@ def _ScanPackage(package):
# Recurse sub folders.
for path in package.__path__:
try:
- basenames = os.listdir(path)
+ basenames = sorted(os.listdir(path))
except OSError:
basenames = []
for basename in basenames: