diff options
author | Peter Mikus <pmikus@cisco.com> | 2018-09-01 15:29:37 +0000 |
---|---|---|
committer | Peter Mikus <pmikus@cisco.com> | 2018-09-04 07:29:54 +0000 |
commit | be430a282810185c939c1fbbf3042036b814f38a (patch) | |
tree | 1d5a18291e74ee892703e7bc81ed96209e8716ae /resources/libraries/python/honeycomb/Routing.py | |
parent | 7db6faf25da39820d321222f7f8fcb191585add9 (diff) |
Fix pylint part 1
- Decrease pylint errors. Part: easy
Change-Id: I452e5b5a11e9b78c03cd173a3848babe21b93c73
Signed-off-by: Peter Mikus <pmikus@cisco.com>
Diffstat (limited to 'resources/libraries/python/honeycomb/Routing.py')
-rw-r--r-- | resources/libraries/python/honeycomb/Routing.py | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/resources/libraries/python/honeycomb/Routing.py b/resources/libraries/python/honeycomb/Routing.py index 8d8f7f4401..314c3fe64d 100644 --- a/resources/libraries/python/honeycomb/Routing.py +++ b/resources/libraries/python/honeycomb/Routing.py @@ -115,7 +115,8 @@ class RoutingKeywords(object): ] } - path = "/control-plane-protocol/hc2vpp-ietf-routing:static/{0}".format(name) + path = "/control-plane-protocol/hc2vpp-ietf-routing:static/{0}".format( + name) return RoutingKeywords._set_routing_table_properties( node, path, full_data) @@ -131,7 +132,8 @@ class RoutingKeywords(object): :rtype: bytearray """ - path = "/control-plane-protocol/hc2vpp-ietf-routing:static/{0}".format(name) + path = "/control-plane-protocol/hc2vpp-ietf-routing:static/{0}".format( + name) return RoutingKeywords._set_routing_table_properties(node, path) @staticmethod @@ -149,7 +151,8 @@ class RoutingKeywords(object): :raises HoneycombError: If the operation fails. """ - path = "/control-plane-protocol/hc2vpp-ietf-routing:static/{0}".format(name) + path = "/control-plane-protocol/hc2vpp-ietf-routing:static/{0}".format( + name) status_code, resp = HcUtil.\ get_honeycomb_data(node, "oper_routing_table", path) @@ -226,7 +229,7 @@ class RoutingKeywords(object): node, 'config_slaac', path) else: data = { - 'ipv6-router-advertisements': slaac_data + 'ipv6-router-advertisements': slaac_data } status_code, _ = HcUtil.put_honeycomb_data( |