From 8c6f5e6c2d341953ea5574974cecf906ddb67e71 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Fri, 17 Feb 2012 02:04:28 -0800 Subject: SubProcess._waitpid_cb: fix args for glib compat --- pym/_emerge/SubProcess.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pym/_emerge') 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)) -- cgit v1.2.3-1-g7c22