aboutsummaryrefslogtreecommitdiffstats
path: root/src/account/models.py
diff options
context:
space:
mode:
authorParker Berberian <pberberian@iol.unh.edu>2019-01-18 16:30:27 +0000
committerGerrit Code Review <gerrit@opnfv.org>2019-01-18 16:30:27 +0000
commit9fc7bfe1b88a720b381ef49bb98cc594924de605 (patch)
treed22b902a67a0cb9c9c6f49d0bfe05e390080e327 /src/account/models.py
parent184dd8ad3a2e2b58f7d25ac6fa1e7ac80c1c5511 (diff)
parentd8e2dbb57cc90ebdffb9ca463b91948b9b634918 (diff)
Merge "Add Quick-Booking Workflow"
Diffstat (limited to 'src/account/models.py')
-rw-r--r--src/account/models.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/account/models.py b/src/account/models.py
index bfeead0..0f8154e 100644
--- a/src/account/models.py
+++ b/src/account/models.py
@@ -94,7 +94,7 @@ class VlanManager(models.Model):
vlan_master_list = json.loads(self.vlans)
try:
iter(vlans)
- except:
+ except Exception:
vlans = [vlans]
for vlan in vlans:
@@ -112,7 +112,7 @@ class VlanManager(models.Model):
try:
iter(vlans)
- except:
+ except Exception:
vlans = [vlans]
for vlan in vlans:
@@ -125,7 +125,7 @@ class VlanManager(models.Model):
try:
iter(vlans)
- except:
+ except Exception:
vlans = [vlans]
vlans = set(vlans)