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
1 changed files with 3 additions and 0 deletions

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")