]> git.decadent.org.uk Git - dak.git/blobdiff - dak/transitions.py
Send the "transitions completed" mail to debian-devel instead of the RT.
[dak.git] / dak / transitions.py
index 00348f2dc842c1e50978b07a4046d19864e0f4d3..2c7d3d8333071b61f41448806f8fc4e007b60e9e 100755 (executable)
@@ -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]