summaryrefslogtreecommitdiff
path: root/ick
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2015-10-11 13:12:04 +0300
committerLars Wirzenius <liw@liw.fi>2015-10-11 13:12:04 +0300
commit98b0553ffb7dc8340ec66a1f64e3aa9ef0680654 (patch)
tree70dde61812b672d620817de7e667eee92fff88bf /ick
parent3dac64bcd298e639069e3de3b61ec77200cdcaa9 (diff)
downloadick-98b0553ffb7dc8340ec66a1f64e3aa9ef0680654.tar.gz
Build projects in alphabetical order
Prevoiusly, Python dict iteration order.
Diffstat (limited to 'ick')
-rwxr-xr-xick2
1 files changed, 1 insertions, 1 deletions
diff --git a/ick b/ick
index bf6373e..4d02049 100755
--- a/ick
+++ b/ick
@@ -89,7 +89,7 @@ class Ick(cliapp.Application):
projects = icklib.create_projects_from_ick(
ick, self.settings['project'])
self.progress['projects'] = projects
- for project in projects:
+ for project in sorted(projects, key=lambda p: p.name):
self.progress['project'] = project
self.progress['project_name'] = project.name
project.set_progress(self.progress)