From a80b6804d1a7a21bc68d70aa5cb14ed12be921d5 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Sun, 15 Aug 2010 09:27:38 -0700 Subject: [PATCH] Remove unuser return values from PollScheduler event handlers. --- pym/_emerge/EbuildIpcDaemon.py | 2 -- pym/_emerge/EbuildMetadataPhase.py | 1 - pym/_emerge/PipeReader.py | 1 - pym/_emerge/SpawnProcess.py | 2 -- 4 files changed, 6 deletions(-) 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 -- 2.26.2