1
0
mirror of https://github.com/moparisthebest/xeps synced 2024-12-21 15:18:51 -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
new["status"] == Status.EXPERIMENTAL):
return Action.UPDATE
elif (old["status"] == Status.PROPOSED and
new["status"] == Status.EXPERIMENTAL):
return None
else:
return Action.fromstatus(new["status"])