From 5ca948ebfb1b501caafe01839db1e9971a629f2c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?G=C3=B6kmen=20G=C3=B6ksel?= Date: Thu, 7 May 2009 20:20:36 +0000 Subject: [PATCH] Set DBus timeout for setupPackage calls --- ChangeLog | 3 +++ pisi/comariface.py | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 63af531e..abf98eca 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,6 @@ +2009-05-07 Bahadır Kandemir + * Set DBus timeout for setupPackage calls. + 2009-05-05 Bahadır Kandemir * Increase DBus timeout * Always set COMAR client locale diff --git a/pisi/comariface.py b/pisi/comariface.py index 801db5cd..528603d6 100644 --- a/pisi/comariface.py +++ b/pisi/comariface.py @@ -121,7 +121,7 @@ def post_install(package_name, provided_scripts, scriptpath, metapath, filepath, ctx.ui.debug(_("Calling post install handlers")) for handler in link.System.PackageHandler: try: - link.System.PackageHandler[handler].setupPackage(metapath, filepath) + link.System.PackageHandler[handler].setupPackage(metapath, filepath, timeout=ctx.dbus_timeout) except dbus.DBusException, exception: # Do nothing if setupPackage method is not defined in package script if not is_method_missing(exception):