diff options
author | Parker Berberian <pberberian@iol.unh.edu> | 2019-01-18 16:30:27 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@opnfv.org> | 2019-01-18 16:30:27 +0000 |
commit | 9fc7bfe1b88a720b381ef49bb98cc594924de605 (patch) | |
tree | d22b902a67a0cb9c9c6f49d0bfe05e390080e327 /src/account/models.py | |
parent | 184dd8ad3a2e2b58f7d25ac6fa1e7ac80c1c5511 (diff) | |
parent | d8e2dbb57cc90ebdffb9ca463b91948b9b634918 (diff) |
Merge "Add Quick-Booking Workflow"
Diffstat (limited to 'src/account/models.py')
-rw-r--r-- | src/account/models.py | 6 |
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) |