1
0
mirror of https://github.com/moparisthebest/xeps synced 2024-11-24 18:22:24 -05:00

tools: Support for re-issuing a Last Call

This commit is contained in:
Jonas Wielicki 2017-12-07 14:58:31 +01:00
parent dfe8b8e429
commit 0d1235127d

View File

@ -144,6 +144,9 @@ def diff_infos(old, new):
return None
else:
return Action.fromstatus(new["status"])
elif (old["status"] == Status.PROPOSED and
old["last_call"] != new["last_call"]):
return Action.LAST_CALL
old_version = old.get("last_revision", {}).get("version")
new_version = new.get("last_revision", {}).get("version")