commit:     30cbbe17a8f849e3fb41dc9a85756581c6395c6f
Author:     Anthony G. Basile <blueness <AT> gentoo <DOT> org>
AuthorDate: Sat Oct 10 11:50:06 2015 +0000
Commit:     Anthony G. Basile <blueness <AT> gentoo <DOT> org>
CommitDate: Sat Oct 10 11:50:06 2015 +0000
URL:        https://gitweb.gentoo.org/proj/grss.git/commit/?id=30cbbe17

grs/Interpret.py: fix minor errors in semantic_action().

 grs/Interpret.py | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/grs/Interpret.py b/grs/Interpret.py
index 2bf880c..a42400d 100644
--- a/grs/Interpret.py
+++ b/grs/Interpret.py
@@ -94,8 +94,9 @@ class Interpret(Daemon):
                     _lo.log(_line)
                     return
                 try:
-                   f(*args) 
-                except Exception as err:
+                   func(*args) 
+                except Exception as excpt:
+                    err = excpt
                     pass
             else:
                 err = 'Number of parameters incorrect.'

Reply via email to