remove import signal in beremiz.py
authorgreg
Tue, 26 Aug 2008 15:31:09 +0200
changeset 224 aae70ef5af6d
parent 223 1c0d3aaacf3d
child 225 aed21ae6658f
remove import signal in beremiz.py
remove SIGKILL signal in wxPopen
Beremiz.py
wxPopen.py
--- a/Beremiz.py	Tue Aug 26 13:47:21 2008 +0200
+++ b/Beremiz.py	Tue Aug 26 15:31:09 2008 +0200
@@ -27,7 +27,6 @@
 import os, sys, getopt, wx
 import tempfile
 import shutil
-from signal import SIGKILL
 
 _local_path = os.path.split(os.path.realpath(__file__))[0]
 def Bpath(*args):
@@ -429,7 +428,7 @@
                     return
 
         # shutdown local runtime
-        self.local_runtime.kill(SIGKILL)
+        self.local_runtime.kill()
         # clear temp dir
         shutil.rmtree(self.local_runtime_tmpdir)
 
--- a/wxPopen.py	Tue Aug 26 13:47:21 2008 +0200
+++ b/wxPopen.py	Tue Aug 26 15:31:09 2008 +0200
@@ -28,7 +28,7 @@
 import subprocess, ctypes
 import threading
 import os
-from signal import SIGTERM, SIGKILL
+from signal import SIGTERM
 
     
 class outputThread(threading.Thread):