Close imported review requests that are past IESG approval
automatically as overtaken by events - Legacy-Id: 11637
This commit is contained in:
parent
f7eeb1f0f1
commit
6c8df95ee6
|
@ -233,6 +233,8 @@ with db_con.cursor() as c:
|
|||
|
||||
# FIXME: add log entries
|
||||
# FIXME: add review from reviewurl
|
||||
# FIXME: do something about missing result
|
||||
|
||||
# adcomments IGNORED
|
||||
# lccomments IGNORED
|
||||
# nits IGNORED
|
||||
|
@ -240,4 +242,8 @@ with db_con.cursor() as c:
|
|||
|
||||
#print meta and meta[0], telechat, lcend, req.type
|
||||
|
||||
print "imported review", row.reviewid, "as", req.pk, req.time, req.deadline, req.type, req.doc_id
|
||||
if req.state_id == "requested" and req.doc.get_state_slug("draft-iesg") in ["approved", "ann", "rfcqueue", "pub"]:
|
||||
req.state = states["overtaken"]
|
||||
req.save()
|
||||
|
||||
print "imported review", row.reviewid, "as", req.pk, req.time, req.deadline, req.type, req.doc_id, req.state, req.doc.get_state_slug("draft-iesg")
|
||||
|
|
Loading…
Reference in a new issue