zeitgeist team mailing list archive
-
zeitgeist team
-
Mailing list archive
-
Message #02714
[Bug 695297] Re: unused helper ZeitgeistRemoteDataSourceRegistryTest._register_data_source_python_api() is broken
** Branch linked: lp:zeitgeist
--
You received this bug notification because you are a member of Zeitgeist
Framework Team, which is subscribed to Zeitgeist Framework.
https://bugs.launchpad.net/bugs/695297
Title:
unused helper ZeitgeistRemoteDataSourceRegistryTest._register_data_source_python_api() is broken
Status in Zeitgeist Framework:
Fix Released
Bug description:
I'm talking about
def _register_data_source_python_api(self, *args):
mainloop = gobject.MainLoop()
self.client.register_data_source(*args,
reply_handler=lambda: mainloop.quit(),
error_handler=lambda: fail("Error registering data-source"))
mainloop.run()
* In error_handler it should be self.fail(...)
* register_data_source() has no reply_handler/error_handler arguments
On the other hand, this method isn't used anywhere
@Siegfried, I think you added this code recently, can you please fix it. Thanks so much ;)
References