PEP8 compliance.

This commit is contained in:
Adam Coddington 2014-10-05 20:38:17 -07:00
parent f63e46941f
commit 434535f6a4
2 changed files with 1 additions and 2 deletions

View file

@ -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"]

View file

@ -40,7 +40,7 @@ class FindMyiPhoneServiceManager(object):
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,