From 434535f6a44379a96109e562624b21017316f5f8 Mon Sep 17 00:00:00 2001 From: Adam Coddington Date: Sun, 5 Oct 2014 20:38:17 -0700 Subject: [PATCH] PEP8 compliance. --- pyicloud/cmdline.py | 1 - pyicloud/services/findmyiphone.py | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/pyicloud/cmdline.py b/pyicloud/cmdline.py index 940fc970..8104fc70 100755 --- a/pyicloud/cmdline.py +++ b/pyicloud/cmdline.py @@ -186,7 +186,6 @@ def main(): for x in contents: print "%20s - %s" % (x, contents[x]) elif command_line.list: -# print "\n" print "-"*30 print "Name - %s" % contents["name"] print "Display Name - %s" % contents["deviceDisplayName"] diff --git a/pyicloud/services/findmyiphone.py b/pyicloud/services/findmyiphone.py index 60a98c01..01900c6c 100755 --- a/pyicloud/services/findmyiphone.py +++ b/pyicloud/services/findmyiphone.py @@ -40,7 +40,7 @@ def refresh_client(self): for device_info in self.response['content']: device_id = device_info['id'] - if not device_id in self._devices: + if device_id not in self._devices: self._devices[device_id] = AppleDevice( device_info, self.session,