diff options
author | Lars Wirzenius <liw@liw.fi> | 2015-10-11 13:12:04 +0300 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2015-10-11 13:12:04 +0300 |
commit | 98b0553ffb7dc8340ec66a1f64e3aa9ef0680654 (patch) | |
tree | 70dde61812b672d620817de7e667eee92fff88bf /ick | |
parent | 3dac64bcd298e639069e3de3b61ec77200cdcaa9 (diff) | |
download | ick-98b0553ffb7dc8340ec66a1f64e3aa9ef0680654.tar.gz |
Build projects in alphabetical order
Prevoiusly, Python dict iteration order.
Diffstat (limited to 'ick')
-rwxr-xr-x | ick | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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) |