commit:     6a6e851240ee9198398182dfa6598ee19a3fa33f
Author:     Anthony G. Basile <blueness <AT> gentoo <DOT> org>
AuthorDate: Sat Oct 10 01:46:35 2015 +0000
Commit:     Anthony G. Basile <blueness <AT> gentoo <DOT> org>
CommitDate: Sat Oct 10 01:46:35 2015 +0000
URL:        https://gitweb.gentoo.org/proj/grss.git/commit/?id=6a6e8512

grs/Interpret.py and Execute.py: pid is out of scope.

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

diff --git a/grs/Interpret.py b/grs/Interpret.py
index 4f184a0..d042da3 100644
--- a/grs/Interpret.py
+++ b/grs/Interpret.py
@@ -78,7 +78,7 @@ class Interpret(Daemon):
                 pass
             sys.exit(signum + 128)
 
-
+)
         def signalexit():
             pid = os.getpid()
             while True:
@@ -98,7 +98,7 @@ class Interpret(Daemon):
             except Exception as e:
                 _lo.log('Bad command: %s' % _line)
                 _lo.log('Exception throw: %s' % e)
-                _lo.log('SENDING SIGTERM to pid = %d\n' % pid)
+                _lo.log('SENDING SIGTERM\n')
                 signalexit()
 
 

Reply via email to