summaryrefslogtreecommitdiffstats
path: root/pym/_emerge/SubProcess.py
diff options
context:
space:
mode:
Diffstat (limited to 'pym/_emerge/SubProcess.py')
-rw-r--r--pym/_emerge/SubProcess.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pym/_emerge/SubProcess.py b/pym/_emerge/SubProcess.py
index 9c033c562..76b313fc2 100644
--- a/pym/_emerge/SubProcess.py
+++ b/pym/_emerge/SubProcess.py
@@ -100,7 +100,7 @@ class SubProcess(AbstractPollTask):
finally:
self.scheduler.source_remove(source_id)
- def _waitpid_cb(self, pid, condition, user_data):
+ def _waitpid_cb(self, pid, condition, user_data=None):
if pid != self.pid:
raise AssertionError("expected pid %s, got %s" % (self.pid, pid))
self._set_returncode((pid, condition))