X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=resources%2Flibraries%2Fpython%2Fhoneycomb%2FHcAPIKwACL.py;h=0cde6d4824a07c473323dbad5e1fd11ee2368ef5;hb=refs%2Fchanges%2F30%2F4330%2F8;hp=8d1746d0ad124d6971d0f85536a040f1bea9a2ac;hpb=6bfae6634aa26c2e88dddf49d91245d880b0222b;p=csit.git diff --git a/resources/libraries/python/honeycomb/HcAPIKwACL.py b/resources/libraries/python/honeycomb/HcAPIKwACL.py index 8d1746d0ad..0cde6d4824 100644 --- a/resources/libraries/python/honeycomb/HcAPIKwACL.py +++ b/resources/libraries/python/honeycomb/HcAPIKwACL.py @@ -289,8 +289,7 @@ class ACLKeywords(object): suffix_dict = {"l2": "eth", "l3_ip4": "ipv4", "l3_ip6": "ipv6", - "mixed": "mixed" - } + "mixed": "mixed"} try: suffix = suffix_dict[layer] except KeyError: @@ -385,8 +384,8 @@ class ACLKeywords(object): } except KeyError: raise ValueError("Unknown network layer {0}. " - "Valid options are: {1}".format( - layer, layers.keys())) + "Valid options are: {1}". + format(layer, layers.keys())) status_code, resp = HcUtil.put_honeycomb_data( node, "config_vpp_interfaces", data, path)