autorun: fixed int to str bug in Server
authorAdriana Draghici <adriana008@gmail.com>
Fri, 30 Apr 2010 09:37:26 +0000 (09:37 +0000)
committerAdriana Draghici <adriana008@gmail.com>
Fri, 30 Apr 2010 09:37:31 +0000 (09:37 +0000)
autorun/server/Server.py

index 49366f0..406b48b 100644 (file)
@@ -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()