fabriceb/GCalCron2 — Issue #2: CANCELED tasks are deleted, but then re-added again.
Author: ndbroadbent
Created: 2012-01-08 13:26:33+00:00
State: open

With DEBUG = True:

```
# python /home/ndbroadbent/src/python/GCalCron2/gcalcron2.py
Setting up query: 2012-01-08 21:24:02.781849 to 2012-01-15 21:23:00 modified after 2012-01-08 21:23:00
Setting up query: 2012-01-15 21:23:00 to 2012-01-15 21:24:02.781849 modified after None
Submitting query
Query results received
http://www.google.com/calendar/feeds/xxxxxxxxxxxxxxx@group.calendar.google.com/private/full/sf20hslp7r3jtmkgllm3r0tcl4 - CANCELED - 2012-01-08T13:23:49.000Z : Do this thing 2012-01-12 10:00:00 ( 2012-01-12T02:00:00.000Z ) => dagsdafsfda
[{'commands': [{'exec_time': datetime.datetime(2012, 1, 12, 10, 0), 'command': 'dagsdafsfda'}], 'uid': 'http://www.google.com/calendar/feeds/xxxxxxxxxxxxxxx@group.calendar.google.com/private/full/sf20hslp7r3jtmkgllm3r0tcl4'}]
at -d 287
at 10:00 Jan 12
warning: commands will be executed using /bin/sh
job 288 at Thu Jan 12 10:00:00 2012
```

So it removes the cancelled event (`at -d 287`), but re-adds it again (`at 10:00 Jan 12`)