summaryrefslogtreecommitdiffstats
path: root/dashboard/src/account/models.py
diff options
context:
space:
mode:
Diffstat (limited to 'dashboard/src/account/models.py')
-rw-r--r--dashboard/src/account/models.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/dashboard/src/account/models.py b/dashboard/src/account/models.py
index bfeead0..0f8154e 100644
--- a/dashboard/src/account/models.py
+++ b/dashboard/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)