1
0
mirror of https://github.com/moparisthebest/xeps synced 2024-12-22 07:38:52 -05:00

tools: fix generation of emails for un-deferred XEPs

This commit is contained in:
Jonas Wielicki 2017-09-15 18:22:31 +02:00
parent fff5868bc4
commit 5ac81fe116

View File

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