Skip to content

Commit a3c12d9

Browse files
committed
Removed two instances of log.assertion(); we have enough data on these now.
- Legacy-Id: 15252
1 parent bf3074e commit a3c12d9

2 files changed

Lines changed: 0 additions & 2 deletions

File tree

ietf/doc/views_ballot.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -593,7 +593,6 @@ def ballot_writeupnotes(request, name):
593593
if "issue_ballot" in request.POST:
594594
e = create_ballot_if_not_open(request, doc, login, "approve") # pyflakes:ignore
595595
ballot = doc.latest_event(BallotDocEvent, type="created_ballot")
596-
log.assertion('ballot == e')
597596
if has_role(request.user, "Area Director") and not doc.latest_event(BallotPositionDocEvent, ad=login, ballot=ballot):
598597
# sending the ballot counts as a yes
599598
pos = BallotPositionDocEvent(doc=doc, rev=doc.rev, by=login)

ietf/doc/views_status_change.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,6 @@ def change_state(request, name, option=None):
6161
if new_state.slug == "iesgeval":
6262
e = create_ballot_if_not_open(request, status_change, login, "statchg", status_change.time) # pyflakes:ignore
6363
ballot = status_change.latest_event(BallotDocEvent, type="created_ballot")
64-
log.assertion('ballot == e')
6564
if has_role(request.user, "Area Director") and not status_change.latest_event(BallotPositionDocEvent, ad=login, ballot=ballot, type="changed_ballot_position"):
6665

6766
# The AD putting a status change into iesgeval who doesn't already have a position is saying "yes"

0 commit comments

Comments
 (0)