Set DBus timeout for setupPackage calls
This commit is contained in:
@@ -1,3 +1,6 @@
|
||||
2009-05-07 Bahadır Kandemir <bahadir@pardus.org.tr>
|
||||
* Set DBus timeout for setupPackage calls.
|
||||
|
||||
2009-05-05 Bahadır Kandemir <bahadir@pardus.org.tr>
|
||||
* Increase DBus timeout
|
||||
* Always set COMAR client locale
|
||||
|
||||
+1
-1
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user