Fixed python2.6 compatiblity, formating and spelling
This commit is contained in:
parent
cb5872c1a0
commit
c18fcf7221
2 changed files with 4 additions and 2 deletions
|
@ -4,6 +4,7 @@
|
||||||
A Command Line Wrapper to allow easy use of pyicloud for
|
A Command Line Wrapper to allow easy use of pyicloud for
|
||||||
command line scripts, and related.
|
command line scripts, and related.
|
||||||
"""
|
"""
|
||||||
|
from __future__ import print_function
|
||||||
import argparse
|
import argparse
|
||||||
import pickle
|
import pickle
|
||||||
|
|
||||||
|
|
|
@ -2,6 +2,7 @@ from __future__ import absolute_import
|
||||||
from datetime import datetime, timedelta
|
from datetime import datetime, timedelta
|
||||||
from calendar import monthrange
|
from calendar import monthrange
|
||||||
import time
|
import time
|
||||||
|
|
||||||
import pytz
|
import pytz
|
||||||
|
|
||||||
|
|
||||||
|
@ -17,9 +18,9 @@ class CalendarService(object):
|
||||||
self._calendar_refresh_url = '%s/events' % self._calendar_endpoint
|
self._calendar_refresh_url = '%s/events' % self._calendar_endpoint
|
||||||
self._calendar_event_detail_url = '%s/eventdetail' % self._calendar_endpoint
|
self._calendar_event_detail_url = '%s/eventdetail' % self._calendar_endpoint
|
||||||
|
|
||||||
def get_possible_timezones(self):
|
def get_all_possible_timezones_of_local_machine(self):
|
||||||
"""
|
"""
|
||||||
Return all possible timezones in Olzon TZ notation
|
Return all possible timezones in Olson TZ notation
|
||||||
This has been taken from
|
This has been taken from
|
||||||
http://stackoverflow.com/questions/7669938
|
http://stackoverflow.com/questions/7669938
|
||||||
"""
|
"""
|
||||||
|
|
Loading…
Reference in a new issue