diff --git a/ietf/doc/views_ballot.py b/ietf/doc/views_ballot.py index 2a6da4ae6..c7a99f74d 100644 --- a/ietf/doc/views_ballot.py +++ b/ietf/doc/views_ballot.py @@ -593,7 +593,6 @@ def ballot_writeupnotes(request, name): if "issue_ballot" in request.POST: e = create_ballot_if_not_open(request, doc, login, "approve") # pyflakes:ignore ballot = doc.latest_event(BallotDocEvent, type="created_ballot") - log.assertion('ballot == e') if has_role(request.user, "Area Director") and not doc.latest_event(BallotPositionDocEvent, ad=login, ballot=ballot): # sending the ballot counts as a yes pos = BallotPositionDocEvent(doc=doc, rev=doc.rev, by=login) diff --git a/ietf/doc/views_status_change.py b/ietf/doc/views_status_change.py index 2f78ec07c..c62e43441 100644 --- a/ietf/doc/views_status_change.py +++ b/ietf/doc/views_status_change.py @@ -61,7 +61,6 @@ def change_state(request, name, option=None): if new_state.slug == "iesgeval": e = create_ballot_if_not_open(request, status_change, login, "statchg", status_change.time) # pyflakes:ignore ballot = status_change.latest_event(BallotDocEvent, type="created_ballot") - log.assertion('ballot == e') if has_role(request.user, "Area Director") and not status_change.latest_event(BallotPositionDocEvent, ad=login, ballot=ballot, type="changed_ballot_position"): # The AD putting a status change into iesgeval who doesn't already have a position is saying "yes"