aboutsummaryrefslogtreecommitdiffstats
path: root/nfvbench/nfvbench.py
diff options
context:
space:
mode:
authorfmenguy <francoisregis.menguy@orange.com>2020-08-24 16:00:01 +0200
committerfmenguy <francoisregis.menguy@orange.com>2020-08-24 16:04:06 +0200
commitdbb932797aff64d458231519d3cf245913913d67 (patch)
tree6e3d0571e21d98cb116d87bbbdd65eaa9e9d311c /nfvbench/nfvbench.py
parent259a75b97d735cff6cfc91c12bf84801c9dc992b (diff)
NFVBENCH-175 pylint w0707 correction
Change-Id: I16927f051f80c540ffc1989f5311e47e68b14a73 Signed-off-by: fmenguy <francoisregis.menguy@orange.com>
Diffstat (limited to 'nfvbench/nfvbench.py')
-rw-r--r--nfvbench/nfvbench.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/nfvbench/nfvbench.py b/nfvbench/nfvbench.py
index 06ca19d..651d06b 100644
--- a/nfvbench/nfvbench.py
+++ b/nfvbench/nfvbench.py
@@ -571,7 +571,8 @@ def main():
factory = getattr(factory_module, config['factory_class'])()
except AttributeError:
raise Exception("Requested factory module '{m}' or class '{c}' was not found."
- .format(m=config['factory_module'], c=config['factory_class']))
+ .format(m=config['factory_module'],
+ c=config['factory_class'])) from AttributeError
# create config plugin for this platform
config_plugin = factory.get_config_plugin_class()(config)
config = config_plugin.get_config()