Repository: qpid-interop-test
Updated Branches:
  refs/heads/master 904732536 -> baed642d9


QPIDIT-40: Fixed bug in last commit: global name 'os' not defined


Project: http://git-wip-us.apache.org/repos/asf/qpid-interop-test/repo
Commit: http://git-wip-us.apache.org/repos/asf/qpid-interop-test/commit/baed642d
Tree: http://git-wip-us.apache.org/repos/asf/qpid-interop-test/tree/baed642d
Diff: http://git-wip-us.apache.org/repos/asf/qpid-interop-test/diff/baed642d

Branch: refs/heads/master
Commit: baed642d95f7b462938971696d3d2cac1a270ff0
Parents: 9047325
Author: Kim van der Riet <[email protected]>
Authored: Tue Oct 4 07:59:21 2016 -0400
Committer: Kim van der Riet <[email protected]>
Committed: Tue Oct 4 07:59:21 2016 -0400

----------------------------------------------------------------------
 src/python/qpid-interop-test/shims.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/qpid-interop-test/blob/baed642d/src/python/qpid-interop-test/shims.py
----------------------------------------------------------------------
diff --git a/src/python/qpid-interop-test/shims.py 
b/src/python/qpid-interop-test/shims.py
index 21b591c..5e94d2d 100644
--- a/src/python/qpid-interop-test/shims.py
+++ b/src/python/qpid-interop-test/shims.py
@@ -71,7 +71,7 @@ class ShimWorkerThread(Thread):
             print '\n  Thread %s (pid=%d) alive after timeout, terminating 
(try #%d)...' % (self.name, self.proc.pid,
                                                                                
             cnt),
             stdout.flush()
-            killpg(os.getpgid(self.proc.pid), SIGTERM)
+            killpg(getpgid(self.proc.pid), SIGTERM)
             sleep(wait_time)
         return self.is_alive()
 
@@ -82,7 +82,7 @@ class ShimWorkerThread(Thread):
             print '\n  Thread %s (pid=%d) alive after terminate, killing (try 
#%d)...' % (self.name, self.proc.pid,
                                                                                
           cnt),
             stdout.flush()
-            killpg(os.getpgid(self.proc.pid), SIGKILL)
+            killpg(getpgid(self.proc.pid), SIGKILL)
             sleep(wait_time)
         return self.is_alive()
 


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to