PEP8 compliance (line length).

This commit is contained in:
Adam Coddington 2014-10-05 20:26:10 -07:00
parent d56995cb0f
commit 39965ce51a
2 changed files with 11 additions and 3 deletions

View file

@ -14,7 +14,9 @@ class CalendarService(object):
self._service_root = service_root
self._calendar_endpoint = '%s/ca' % self._service_root
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_system_tz(self):
"""

View file

@ -30,7 +30,10 @@ class ContactsService(object):
'locale': 'en_US',
'order': 'last,first',
})
req = self.session.get(self._contacts_refresh_url, params=params_contacts)
req = self.session.get(
self._contacts_refresh_url,
params=params_contacts
)
self.response = req.json()
params_refresh = dict(self.params)
params_refresh.update({
@ -38,7 +41,10 @@ class ContactsService(object):
'syncToken': req.json()["syncToken"],
})
self.session.post(self._contacts_changeset_url, params=params_refresh)
req = self.session.get(self._contacts_refresh_url, params=params_contacts)
req = self.session.get(
self._contacts_refresh_url,
params=params_contacts
)
self.response = req.json()
def all(self):