1
0
mirror of https://github.com/moparisthebest/xeps synced 2024-11-22 09:12:19 -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 return Action.PROTO
elif old["status"] is None: elif old["status"] is None:
return Action.NEW return Action.NEW
elif (old["status"] == Status.DEFERRED and
new["status"] == Status.EXPERIMENTAL):
return Action.UPDATE
else: else:
return Action.fromstatus(new["status"]) return Action.fromstatus(new["status"])