Skip to content

Commit 7f5a86f

Browse files
committed
Fix problem with running script again when there are existing ballot
events - Legacy-Id: 4343
1 parent 2eec257 commit 7f5a86f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

ietf/wgcharter/migrate.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ def append(self, x):
8888
print "MISSING ballot issue event, added ballot for", d.name
8989

9090
if e.type == "changed_ballot_position" and not e.ballotpositiondocevent.ballot:
91-
e.ballotpositiondocevent.ballot = ballot
91+
e.ballotpositiondocevent.ballot_id = ballot.id
9292
e.ballotpositiondocevent.save()
9393

9494
if e.type in ("iesg_approved", "iesg_disapproved") and ballot:

0 commit comments

Comments
 (0)