From: Zac Medico Date: Sun, 15 Aug 2010 16:27:38 +0000 (-0700) Subject: Remove unuser return values from PollScheduler event handlers. X-Git-Tag: v2.2_rc68~196 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=a80b6804d1a7a21bc68d70aa5cb14ed12be921d5;p=portage.git Remove unuser return values from PollScheduler event handlers. --- diff --git a/pym/_emerge/EbuildIpcDaemon.py b/pym/_emerge/EbuildIpcDaemon.py index 84ee022b8..f87ffd2e0 100644 --- a/pym/_emerge/EbuildIpcDaemon.py +++ b/pym/_emerge/EbuildIpcDaemon.py @@ -61,8 +61,6 @@ class EbuildIpcDaemon(FifoIpcDaemon): if reply_hook is not None: reply_hook() - return self._registered - def _send_reply(self, reply): output_fd = os.open(self.output_fifo, os.O_WRONLY|os.O_NONBLOCK) output_file = os.fdopen(output_fd, 'wb') diff --git a/pym/_emerge/EbuildMetadataPhase.py b/pym/_emerge/EbuildMetadataPhase.py index 77499a055..1ad72b549 100644 --- a/pym/_emerge/EbuildMetadataPhase.py +++ b/pym/_emerge/EbuildMetadataPhase.py @@ -114,7 +114,6 @@ class EbuildMetadataPhase(SubProcess): self.wait() self._unregister_if_appropriate(event) - return self._registered def _set_returncode(self, wait_retval): SubProcess._set_returncode(self, wait_retval) diff --git a/pym/_emerge/PipeReader.py b/pym/_emerge/PipeReader.py index 4444c4e8c..6952ffd7e 100644 --- a/pym/_emerge/PipeReader.py +++ b/pym/_emerge/PipeReader.py @@ -78,7 +78,6 @@ class PipeReader(AbstractPollTask): self.wait() self._unregister_if_appropriate(event) - return self._registered def _unregister(self): """ diff --git a/pym/_emerge/SpawnProcess.py b/pym/_emerge/SpawnProcess.py index 51cd04fcf..e3acdc44c 100644 --- a/pym/_emerge/SpawnProcess.py +++ b/pym/_emerge/SpawnProcess.py @@ -195,7 +195,6 @@ class SpawnProcess(SubProcess): self.wait() self._unregister_if_appropriate(event) - return self._registered def _dummy_handler(self, fd, event): """ @@ -219,5 +218,4 @@ class SpawnProcess(SubProcess): self.wait() self._unregister_if_appropriate(event) - return self._registered