aboutsummaryrefslogtreecommitdiffstats
path: root/nfvbench/specs.py
diff options
context:
space:
mode:
Diffstat (limited to 'nfvbench/specs.py')
-rw-r--r--nfvbench/specs.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/nfvbench/specs.py b/nfvbench/specs.py
index 7a24d5c..a84a55f 100644
--- a/nfvbench/specs.py
+++ b/nfvbench/specs.py
@@ -75,7 +75,8 @@ class OpenStackSpec(object):
class RunSpec(object):
def __init__(self, no_vswitch_access, openstack_spec):
- self.use_vswitch = (not no_vswitch_access) and openstack_spec.vswitch != "BASIC"
+ self.use_vswitch = (not no_vswitch_access) and openstack_spec \
+ and openstack_spec.vswitch != "BASIC"
class Specs(object):