From 410b46d3effd1b0d7599cad4ca1b0bdc6cdac03a Mon Sep 17 00:00:00 2001 From: مؤيد السعدي Date: Mon, 10 Aug 2009 10:15:25 +0100 Subject: Fix up the python example in the FAQ Signed-off-by: Richard Hughes --- docs/html/pk-faq.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'docs') diff --git a/docs/html/pk-faq.html b/docs/html/pk-faq.html index 314ba7588..4a6f7e0dd 100644 --- a/docs/html/pk-faq.html +++ b/docs/html/pk-faq.html @@ -354,8 +354,8 @@ except dbus.DBusException, e: sys.exit() try: proxy = bus.get_object('org.freedesktop.PackageKit', '/org/freedesktop/PackageKit') - iface = dbus.Interface(proxy, 'org.freedesktop.PackageKit') - iface.InstallPackageName('openoffice-clipart') + iface = dbus.Interface(proxy, 'org.freedesktop.PackageKit.Modify') + iface.InstallPackageNames(0, ["openoffice-clipart", "openoffice-clipart-extras"], "show-confirm-search,hide-finished") except dbus.DBusException, e: print 'Unable to use PackageKit: %s' % str(e) -- cgit v1.2.3