From 39965ce51a8727918c26302cad174a97d6c87278 Mon Sep 17 00:00:00 2001 From: Adam Coddington Date: Sun, 5 Oct 2014 20:26:10 -0700 Subject: [PATCH] PEP8 compliance (line length). --- pyicloud/services/calendar.py | 4 +++- pyicloud/services/contacts.py | 10 ++++++++-- 2 files changed, 11 insertions(+), 3 deletions(-) diff --git a/pyicloud/services/calendar.py b/pyicloud/services/calendar.py index 4f9ae07..2ad4434 100644 --- a/pyicloud/services/calendar.py +++ b/pyicloud/services/calendar.py @@ -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): """ diff --git a/pyicloud/services/contacts.py b/pyicloud/services/contacts.py index 9208df7..27338d4 100644 --- a/pyicloud/services/contacts.py +++ b/pyicloud/services/contacts.py @@ -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):