Skip to content
This repository has been archived by the owner on Jun 16, 2020. It is now read-only.

Commit

Permalink
Disable verbose output of cURL, minor formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
Christoph Raschl committed Mar 9, 2015
1 parent b1c9907 commit 3eee957
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions ews-fetch-calendar.py
Expand Up @@ -80,9 +80,9 @@ def print_orgmode_entry(subject, start, end, location, response):

print ""

#Debug code
#print_orgmode_entry("subject", "2012-07-27T11:10:53Z", "2012-07-27T11:15:53Z", "location", "participants")
#exit(0)
# Debug code
# print_orgmode_entry("subject", "2012-07-27T11:10:53Z", "2012-07-27T11:15:53Z", "location", "participants")
# exit(0)

# Build the soap request
# For CalendarItem documentation, http://msdn.microsoft.com/en-us/library/exchange/aa564765(v=exchg.140).aspx
Expand Down Expand Up @@ -123,7 +123,7 @@ def print_orgmode_entry(subject, start, end, location, response):

c = pycurl.Curl()
# Debug code
c.setopt(c.VERBOSE, 1)
# c.setopt(c.VERBOSE, 1)

c.setopt(c.URL, 'https://%s%s' % (ewsHost, ewsUrl))
c.setopt(c.POST, 1)
Expand Down

0 comments on commit 3eee957

Please sign in to comment.