projects
/
cs-p2p-next.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1be972a
)
autorun: fixed int to str bug in Server
author
Adriana Draghici
<adriana008@gmail.com>
Fri, 30 Apr 2010 09:37:26 +0000
(09:37 +0000)
committer
Adriana Draghici
<adriana008@gmail.com>
Fri, 30 Apr 2010 09:37:31 +0000
(09:37 +0000)
autorun/server/Server.py
patch
|
blob
|
history
diff --git
a/autorun/server/Server.py
b/autorun/server/Server.py
index
49366f0
..
406b48b
100644
(file)
--- 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()