PEP8 fixes.

This commit is contained in:
Peter Evans 2012-12-31 14:52:57 +00:00
parent 6564681c6b
commit 4adff6a5ff

View file

@ -28,7 +28,8 @@ class FindMyiPhoneService(object):
# TODO: Support multiple devices. # TODO: Support multiple devices.
self.content = self.response['content'][0] self.content = self.response['content'][0]
else: else:
raise PyiCloudNoDevicesException('You do not have any active devices.') message = 'You do not have any active devices.'
raise PyiCloudNoDevicesException(message)
self.user_info = self.response['userInfo'] self.user_info = self.response['userInfo']
def location(self): def location(self):