On Mon, Nov 30, 2009 at 09:01:50AM +0100, Sebastian Heinlein wrote: > On Sun, Nov 29, 2009 at 10:17:19PM +0100, Julian Andres Klode wrote: > > Sebastian, could we get a 0.11 release tomorrow; with the state > > of the current trunk and the attached patch for Python 2.5 > > support? This would be helpful; as I would like to upload > > the package tomorrow. > > Thanks for pushing aptdaemon into Debian, Julian. > > Sorry, but you did not attach the patch. Attached now. > > Could you please upload to experimental at first? I plan to work and > so change the D-Bus API and the currently ugly Python client API in > Decemeber. So I would like to avoid an early adoption of the API. My idea is uploading to unstable with an information that the API should not be considered stable. > > Furthermore I will release sessioninstaller in the next week. It is an > implementation of the PackageKit session D-Bus API which allows third > party applications to install easily additional packages, mime type > handlers or GStreamer extensions. Sessioninstaller currently makes use > of aptdaemon for the installation, but a Synaptic backend is just a > few lines away. Sounds interesting. -- Julian Andres Klode - Debian Developer, Ubuntu Member See http://wiki.debian.org/JulianAndresKlode and http://jak-linux.org/.
# Bazaar merge directive format 2 (Bazaar 0.90)
# revision_id: jak@debian.org-20091129210146-n006vckp6rcca7h7
# target_branch: bzr+ssh://bazaar.launchpad.net/~aptdaemon-\
# developers/aptdaemon/main/
# testament_sha1: 9a52c80f6dd0c92a54488585bbd746f0169a1f9e
# timestamp: 2009-11-29 22:14:37 +0100
# base_revision_id: sebi@glatzor.de-20091118151157-naprgrdf5xcop384
#
# Begin patch
=== modified file 'aptdaemon/client.py'
--- aptdaemon/client.py 2009-10-04 11:51:44 +0000
+++ aptdaemon/client.py 2009-11-29 21:01:46 +0000
@@ -267,15 +267,15 @@
reply_handler -- callback which will called if the transaction is done
"""
if error_handler and reply_handler:
- self._method(*self._args, timeout=250,
+ self._method(timeout=250,
error_handler=error_handler,
- reply_handler=reply_handler)
+ reply_handler=reply_handler, *self._args)
return
# avoid blocking the user interface
context = gobject.main_context_default()
while context.pending():
context.iteration()
- self._method(*self._args, timeout=250)
+ self._method(timeout=250, *self._args)
if self._exit_handler is None or block == True:
self._main_loop.run()
if self._exit_handler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