PEP8 compliance.
This commit is contained in:
parent
f63e46941f
commit
434535f6a4
2 changed files with 1 additions and 2 deletions
|
@ -186,7 +186,6 @@ def main():
|
||||||
for x in contents:
|
for x in contents:
|
||||||
print "%20s - %s" % (x, contents[x])
|
print "%20s - %s" % (x, contents[x])
|
||||||
elif command_line.list:
|
elif command_line.list:
|
||||||
# print "\n"
|
|
||||||
print "-"*30
|
print "-"*30
|
||||||
print "Name - %s" % contents["name"]
|
print "Name - %s" % contents["name"]
|
||||||
print "Display Name - %s" % contents["deviceDisplayName"]
|
print "Display Name - %s" % contents["deviceDisplayName"]
|
||||||
|
|
|
@ -40,7 +40,7 @@ class FindMyiPhoneServiceManager(object):
|
||||||
|
|
||||||
for device_info in self.response['content']:
|
for device_info in self.response['content']:
|
||||||
device_id = device_info['id']
|
device_id = device_info['id']
|
||||||
if not device_id in self._devices:
|
if device_id not in self._devices:
|
||||||
self._devices[device_id] = AppleDevice(
|
self._devices[device_id] = AppleDevice(
|
||||||
device_info,
|
device_info,
|
||||||
self.session,
|
self.session,
|
||||||
|
|
Loading…
Reference in a new issue