~glatzor/aptdaemon/maverick-updates

« back to all changes in this revision

Viewing changes to aptdaemon/client.py

  • Committer: Bazaar Package Importer
  • Author(s): Michael Vogt
  • Date: 2010-08-24 20:49:32 UTC
  • mfrom: (1.1.28 upstream)
  • Revision ID: james.westby@ubuntu.com-20100824204932-0t7aplcbkuup543j
Tags: 0.31+bzr468-0ubuntu1
new bzr snapshot that fixes authentication timeout problem
(LP: #623424), big thanks to Sebastian Heinlein

Show diffs side-by-side

added added

removed removed

Lines of Context:
944
944
        if async:
945
945
            deferred = defer.Deferred()
946
946
            dbus_method(reply_handler=deferred.callback,
947
 
                        error_handler=deferred.errback, *args)
 
947
                        error_handler=deferred.errback, *args, timeout=86400)
948
948
            tid = yield deferred
949
949
        else:
950
 
            tid = dbus_method(*args)
 
950
            tid = dbus_method(*args, timeout=86400)
951
951
        trans = AptTransaction(tid, self.bus)
952
952
        if self._locale:
953
953
            yield trans.set_locale(self._locale, defer=async)