Styling: deprecation

This commit is contained in:
Michael DeHaan 2013-06-30 18:55:03 -04:00
parent 257d827c9e
commit 2e63faf257

View file

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