Hi Alain,

I'll give it up...

I did what you recommend me, and same result...

*{CODE}*
*# The function we'll use to delete the relevant calendar entries*
*delete=True*
*def DeleteEventEntries(calendar_client, calendar='default',
start_date='2010-01-01', end_date='2010-12-31', pattern="", delete=False):*
*  print 'Date range query for events on %s Calendar: %s to %s' % (calendar,
start_date, end_date,)*
*  query = gdata.calendar.client.CalendarEventQuery(text_query=pattern,
start_min=start_date, start_max=end_date, max_results=25)*
*  query.start_min = start_date*
*  query.start_max = end_date*
*{CODE}*
*
*
Same result...

*Done*
*Total entries: 3119 - Proceesed: 3119 - Success: 0 - Failure 0*
*
*
Any advises?
*
*
*
*
On 1 March 2011 18:02, Alain <[email protected]> wrote:

> You will need to modify the script and add a line like:
>
> [CODE]
> delete = True
> [/CODE]
>
> You can do it before the call to the function "DeleteEventEntries", so the
> last lines of the main function should look like:
>
> [CODE]
>   ...
>   delete=True
>   DeleteEventEntries(calendar_client=calendar_client, calendar=calendar,
> start_date=start_date, end_date=end_date, pattern=pattern, delete=delete);
> [/CODE]
>
> Please be aware that doing so will always delete the matching calendars
> whatever the command line argument is.
>
> Best,
> Alain
>
>
>  --
> You received this message because you are subscribed to the Google
> Groups "Google Calendar Data API" group.
> To post to this group, send email to
> [email protected]
> To unsubscribe from this group, send email to
> [email protected]
> For more options, visit this group at
> http://code.google.com/apis/calendar/community/forum.html
>



-- 
*
Danilo Almeida Nogueira
*ICS/IT TEAM - CoE Collaboration Support Analyst
Converteam Brasil LTDA
Phone: +55 31 3330-5883
GSD Phone: +55 31 9965-3450
[email protected]

CONFIDENTIALITY: This e-mail and any attachments are confidential and may be 
privileged.
If you are not a named recipient, please notify the sender immediately and do 
not disclose the contents to another person, use it for any purpose or store or 
copy the information in any medium.

Converteam Brasil Ltda. http://www.converteam.com

Please consider the environment before printing this email.

-- 
You received this message because you are subscribed to the Google
Groups "Google Calendar Data API" group.
To post to this group, send email to
[email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://code.google.com/apis/calendar/community/forum.html

Reply via email to