From 7f5a86f5dd47187919e576a41111c99a3dbaa182 Mon Sep 17 00:00:00 2001 From: Ole Laursen Date: Mon, 30 Apr 2012 18:24:28 +0000 Subject: [PATCH] Fix problem with running script again when there are existing ballot events - Legacy-Id: 4343 --- ietf/wgcharter/migrate.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ietf/wgcharter/migrate.py b/ietf/wgcharter/migrate.py index 14e57f5e0..32121bd9e 100644 --- a/ietf/wgcharter/migrate.py +++ b/ietf/wgcharter/migrate.py @@ -88,7 +88,7 @@ for d in relevant_docs.iterator(): print "MISSING ballot issue event, added ballot for", d.name if e.type == "changed_ballot_position" and not e.ballotpositiondocevent.ballot: - e.ballotpositiondocevent.ballot = ballot + e.ballotpositiondocevent.ballot_id = ballot.id e.ballotpositiondocevent.save() if e.type in ("iesg_approved", "iesg_disapproved") and ballot: