1
0
mirror of https://github.com/moparisthebest/xeps synced 2024-11-24 10:12:19 -05:00

Do not send emails when transitioning back from Last Call

This commit is contained in:
Jonas Wielicki 2017-10-16 20:45:18 +02:00
parent 2d655ca9d4
commit 3fa0dd6eec

View File

@ -134,6 +134,9 @@ def diff_infos(old, new):
elif (old["status"] == Status.DEFERRED and elif (old["status"] == Status.DEFERRED and
new["status"] == Status.EXPERIMENTAL): new["status"] == Status.EXPERIMENTAL):
return Action.UPDATE return Action.UPDATE
elif (old["status"] == Status.PROPOSED and
new["status"] == Status.EXPERIMENTAL):
return None
else: else:
return Action.fromstatus(new["status"]) return Action.fromstatus(new["status"])