diff --git a/openstack_election/cmds/render_statistics.py b/openstack_election/cmds/render_statistics.py index 3bb7d215..128019d9 100755 --- a/openstack_election/cmds/render_statistics.py +++ b/openstack_election/cmds/render_statistics.py @@ -41,7 +41,7 @@ def as_utctime(dt): def collect_project_stats(basedir, verbose, projects): global counts - for directory, dirnames, filenames in os.walk(basedir): + for directory, dirnames, filenames in sorted(os.walk(basedir)): project = directory[len(basedir):] if project == "TC": continue