aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnthony G. Basile <blueness@gentoo.org>2015-10-10 08:28:22 -0400
committerAnthony G. Basile <blueness@gentoo.org>2015-10-10 08:28:22 -0400
commit4476229290dcd40ef1dd7320b84ea86e5e1b8fa9 (patch)
tree782a5685b2623bd9d09ca94c8b3ae9b71bef54fe
parentgrs/Interpret.py: fix minor errors in semantic_action(). (diff)
downloadgrss-4476229290dcd40ef1dd7320b84ea86e5e1b8fa9.zip
grss-4476229290dcd40ef1dd7320b84ea86e5e1b8fa9.tar.gz
grss-4476229290dcd40ef1dd7320b84ea86e5e1b8fa9.tar.bz2
grs/Interpret.py: fix minor errors.
-rw-r--r--grs/Interpret.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/grs/Interpret.py b/grs/Interpret.py
index a42400d..3e2c408 100644
--- a/grs/Interpret.py
+++ b/grs/Interpret.py
@@ -94,10 +94,9 @@ class Interpret(Daemon):
_lo.log(_line)
return
try:
- func(*args)
+ func(*args)
except Exception as excpt:
err = excpt
- pass
else:
err = 'Number of parameters incorrect.'