From: Adriana Draghici Date: Fri, 30 Apr 2010 09:37:26 +0000 (+0000) Subject: autorun: fixed int to str bug in Server X-Git-Tag: getopt_long~35 X-Git-Url: http://p2p-next.cs.pub.ro/gitweb/?a=commitdiff_plain;h=a507e37a69650911384d5589aff6e3d7384f5b99;p=cs-p2p-next.git autorun: fixed int to str bug in Server --- diff --git a/autorun/server/Server.py b/autorun/server/Server.py index 49366f0..406b48b 100644 --- a/autorun/server/Server.py +++ b/autorun/server/Server.py @@ -255,7 +255,7 @@ class MyDaemon(Daemon): int_pid = int(pid) if int_pid == -1 or int_pid not in self.processes_fd.keys(): - return "Invalid pid " + pid + return "Invalid pid " + str(pid) os.kill(int_pid, signal.SIGKILL) # kill generates zombies os.wait() self.processes_fd[int_pid][0].close()