diff options
author | Cole Robinson <crobinso@redhat.com> | 2012-12-20 12:51:45 -0500 |
---|---|---|
committer | Cole Robinson <crobinso@redhat.com> | 2012-12-20 12:55:35 -0500 |
commit | 1abd03ed80b47a5506798d341924e2b3d577a8fc (patch) | |
tree | a34a5fac8b6f6cfd6de246701b97c9a53004c170 | |
parent | 32f74219b024ddbd6fac5301c58e27540541d569 (diff) | |
download | virt-manager-1abd03ed80b47a5506798d341924e2b3d577a8fc.tar.gz |
Fix packagekit package install on KDE with apper
Apper requires a uint, gnome-packagekit doesn't seem to care either way
https://bugzilla.redhat.com/show_bug.cgi?id=882024
-rw-r--r-- | src/virtManager/packageutils.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/virtManager/packageutils.py b/src/virtManager/packageutils.py index 7ffe5be8..dee5b1eb 100644 --- a/src/virtManager/packageutils.py +++ b/src/virtManager/packageutils.py @@ -131,7 +131,8 @@ def packagekit_install(package_list): # Set 2 hour timeout timeout = 60 * 60 * 2 logging.debug("Installing packages: %s", package_list) - pk_control.InstallPackageNames(0, package_list, "hide-confirm-search", + pk_control.InstallPackageNames(dbus.Uint32(0), + package_list, "hide-confirm-search", timeout=timeout) def packagekit_search(session, pk_control, package_name, packages): |