pep8: deprecation

reviewable/pr18780/r1
Michael DeHaan 12 years ago
parent 90c1701f1c
commit e0877fa085

@ -278,7 +278,7 @@ class AristaL2Interface(object):
""" """
(rc, out, err) = self.run_command("netdev l2interface list") (rc, out, err) = self.run_command("netdev l2interface list")
collection = json.loads(out) collection = json.loads(out)
return collection.get('result').has_key(self.interface_id) return self.interface_id in collection.get('result')
def main(): def main():

Loading…
Cancel
Save