chiark / gitweb /
Remove some no-longer needed lines
authorMatthew Vernon <mv3@sanger.ac.uk>
Mon, 8 Oct 2018 10:35:26 +0000 (11:35 +0100)
committerMatthew Vernon <mv3@sanger.ac.uk>
Mon, 8 Oct 2018 10:35:26 +0000 (11:35 +0100)
These were part of getting to the bottom of why saving wasn't working,
which we have now fixed (see previous commit).

gooswapper.py

index ee99fb54a23a41f321cb0c78e147df9c4630dbca..692c3525fcae9be3f3d935ee5fc0e51581a9ba7f 100644 (file)
@@ -201,9 +201,7 @@ def match_ex_to_gcal(ex_acct,gcal_acct,gcal_tz,events,gcal_id="primary"):
                 logger.info("Matching '%s' starting at %s" % (event.subject,
                                                               event.start.isoformat()))
                 event.gcal_link = ge['id']
-                event.is_response_requested=None
                 event.save(update_fields=["gcal_link"])
-#                event.save(conflict_resolution="NeverOverwrite")
                 events[event.item_id] = events[event.item_id]._replace(changekey=event.changekey,gcal_link=event.gcal_link)
                 gevent = {}
                 gevent["start"] = ge["start"]