X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=dak%2Ftransitions.py;h=2c7d3d8333071b61f41448806f8fc4e007b60e9e;hb=c63e71b31aeb14ee4f817e519fdcf243e2733504;hp=00348f2dc842c1e50978b07a4046d19864e0f4d3;hpb=6237cc158b46ecd9303d1a09bec56b22983bc968;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]