Use new style for unused variables

This commit is contained in:
Simon Schampijer
2008-04-24 16:55:19 +02:00
parent 08c1d17cb0
commit 83f76f115a
4 changed files with 10 additions and 9 deletions
+1 -1
View File
@@ -58,7 +58,7 @@ _children_pid = []
def _sigchild_handler(signum, frame):
for child_pid in _children_pid:
pid = os.waitpid(child_pid, os.WNOHANG)[0]
pid, status_ = os.waitpid(child_pid, os.WNOHANG)
if pid > 0:
_children_pid.remove(pid)