diff options
author | 2018-04-03 07:19:16 +0000 | |
---|---|---|
committer | 2018-04-03 07:19:16 +0000 | |
commit | 0236fe345f85faf5e07fae683106021c97490720 (patch) | |
tree | 57c70c9e14249d38a0b20079e6c5f6d1b5dfc78e /tools/namespace.py | |
parent | 2814e71322f7da9dd6ad9988b2648316cc7bd034 (diff) | |
parent | 184b72f6b706036aeda88d52ecb0e0c27b1573fe (diff) |
Merge "python: Pylint 1.8.2 code conformity"
Diffstat (limited to 'tools/namespace.py')
-rw-r--r-- | tools/namespace.py | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/tools/namespace.py b/tools/namespace.py index 9131398f..50374b95 100644 --- a/tools/namespace.py +++ b/tools/namespace.py @@ -135,9 +135,8 @@ def reset_port_to_root(port, name): port, name), False) -# pylint: disable=unused-argument # pylint: disable=invalid-name -def validate_add_ip_to_namespace_eth(result, port, name, ip_addr, cidr): +def validate_add_ip_to_namespace_eth(_result, port, name, ip_addr, cidr): """ Validation function for integration testcases """ @@ -147,7 +146,7 @@ def validate_add_ip_to_namespace_eth(result, port, name, ip_addr, cidr): _LOGGER, 'Validating ip address in namespace...', False)) -def validate_assign_port_to_namespace(result, port, name, port_up=False): +def validate_assign_port_to_namespace(_result, port, name, _port_up=False): """ Validation function for integration testcases """ @@ -157,14 +156,14 @@ def validate_assign_port_to_namespace(result, port, name, port_up=False): _LOGGER, 'Validating port in namespace...')) -def validate_create_namespace(result, name): +def validate_create_namespace(_result, name): """ Validation function for integration testcases """ return name in get_system_namespace_list() -def validate_delete_namespace(result, name): +def validate_delete_namespace(_result, name): """ Validation function for integration testcases """ |