diff options
author | jose.lausuch <jose.lausuch@ericsson.com> | 2017-02-14 14:37:05 +0100 |
---|---|---|
committer | jose.lausuch <jose.lausuch@ericsson.com> | 2017-02-14 16:58:05 +0100 |
commit | f169fa760059f91ba68960a7f87ca915e7d0ddaf (patch) | |
tree | 6178525e8a96f13613846603489e042f05009947 /opnfv/deployment | |
parent | 2b191ef958106da17594ee8a4143a392984822b0 (diff) |
Fix flake8 violations in releng
Change-Id: I45769ff9c9db2de9fbba69117a92de414dd7f651
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
Diffstat (limited to 'opnfv/deployment')
-rw-r--r-- | opnfv/deployment/example.py | 2 | ||||
-rw-r--r-- | opnfv/deployment/manager.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/opnfv/deployment/example.py b/opnfv/deployment/example.py index 6a76eb9..f456832 100644 --- a/opnfv/deployment/example.py +++ b/opnfv/deployment/example.py @@ -18,4 +18,4 @@ for node in nodes: print("Hello, I am node '%s' and my ip is %s." % (node.run_cmd('hostname'), node.ip)) -print handler.get_deployment_info() +print(handler.get_deployment_info()) diff --git a/opnfv/deployment/manager.py b/opnfv/deployment/manager.py index f0e4429..9f77ff0 100644 --- a/opnfv/deployment/manager.py +++ b/opnfv/deployment/manager.py @@ -56,7 +56,7 @@ class Deployment(object): version = self.deployment_info['openstack_version'].split('.')[0] name = os_versions[version] return name - except Exception as e: + except Exception: return 'Unknown release' def get_dict(self): |