aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteve McIntyre <steve.mcintyre@linaro.org>2014-12-17 13:14:44 +0000
committerSteve McIntyre <steve.mcintyre@linaro.org>2014-12-17 13:14:44 +0000
commit5da37fa8c1c3419639b65ea4d52b38aaeccdaa70 (patch)
treea521acf299edbc3586b5aae8cfebc2bb266e5c2d
parent07946c2e856b39cd2ed451e1a50600fcc5e1dbb2 (diff)
Pass InputErrors straight up
Change-Id: I35500c9fcf8675684b64103415bee435df415da4
-rw-r--r--util.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/util.py b/util.py
index 3c19de3..bd8d4bf 100644
--- a/util.py
+++ b/util.py
@@ -60,6 +60,9 @@ class VlanUtil:
else:
raise InputError("Unknown query command \"%s\"" % command)
+ except InputError:
+ raise
+
except:
raise InputError("Invalid input in query")