Remove unuser return values from PollScheduler event handlers.
authorZac Medico <zmedico@gentoo.org>
Sun, 15 Aug 2010 16:27:38 +0000 (09:27 -0700)
committerZac Medico <zmedico@gentoo.org>
Sun, 15 Aug 2010 16:27:38 +0000 (09:27 -0700)
pym/_emerge/EbuildIpcDaemon.py
pym/_emerge/EbuildMetadataPhase.py
pym/_emerge/PipeReader.py
pym/_emerge/SpawnProcess.py

index 84ee022b8614b5f1b250ebea99033c9c8a5ab760..f87ffd2e0ca3e14b4352098e2e58a0adea201232 100644 (file)
@@ -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')
index 77499a055f5c6c5fa307c68845ea5ccc124a5b14..1ad72b5497e6a2e0865d6c59ae87e37fe74786f0 100644 (file)
@@ -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)
index 4444c4e8cd75a649cd23a8ceabf40d7e8d22841e..6952ffd7e6a68bd1bba5ac3672da0290d0aff633 100644 (file)
@@ -78,7 +78,6 @@ class PipeReader(AbstractPollTask):
                                self.wait()
 
                self._unregister_if_appropriate(event)
-               return self._registered
 
        def _unregister(self):
                """
index 51cd04fcfcd1e8a9f7e2e24449a7ed98d05ab511..e3acdc44cf0b77337a1e1750055ca5103cbfb373 100644 (file)
@@ -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