We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cf5b096 commit 6bcdf71Copy full SHA for 6bcdf71
1 file changed
cmscontrib/ImportContest.py
@@ -102,7 +102,12 @@ def do_import(self):
102
if old_contest is not None:
103
if self.update_contest:
104
if contest_has_changed:
105
- self._update_object(old_contest, contest)
+ # Participations are handled later, so we ignore them
106
+ # at this point (note that contest does not even have
107
+ # participations). Tasks can be ignored or not, since
108
+ # they can live even detached from a contest.
109
+ self._update_object(old_contest, contest,
110
+ ignore={"participations"})
111
contest = old_contest
112
elif self.update_tasks:
113
0 commit comments