X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=dak%2Ftransitions.py;h=2c7d3d8333071b61f41448806f8fc4e007b60e9e;hb=bdd0f80d900a9437fc0fbbf4ec1704da75907c69;hp=00348f2dc842c1e50978b07a4046d19864e0f4d3;hpb=4db8ce23de9866ca93e0b8f1802ac3dd6bdf6508;p=dak.git diff --git a/dak/transitions.py b/dak/transitions.py index 00348f2d..2c7d3d83 100755 --- a/dak/transitions.py +++ b/dak/transitions.py @@ -452,8 +452,9 @@ def check_transitions(transitions): elif answer == 'y': print "Committing" subst = {} + subst['__SUBJECT__'] = "Transitions completed: " + ", ".join(sorted(to_remove)) subst['__TRANSITION_MESSAGE__'] = "The following transitions were removed:\n" - for remove in to_remove: + for remove in sorted(to_remove): subst['__TRANSITION_MESSAGE__'] += info[remove] + '\n' del transitions[remove]