Styling: deprecation

reviewable/pr18780/r1
Michael DeHaan 12 years ago
parent 7dd8c2dda4
commit 9f6a9def19

@ -267,7 +267,7 @@ class AristaLag(object):
""" """
(rc, out, err) = self.run_command("netdev lag list") (rc, out, err) = self.run_command("netdev lag 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