Created attachment 372560 [details] 0001-Fixed-packagekit.client.what_provides-in-Python-bind.patch Description of problem: The python bindings for PackageKit use the wrong number of arguments for what_provides. Version-Release number of selected component (if applicable): PackageKit-0.5.4-0.3.20091029git.fc12.x86_64 How reproducible: 100% Steps to Reproduce: Run this: #!/usr/bin/python import packagekit.client pk = packagekit.client.PackageKitClient () packages = pk.what_provides(packagekit.client.FILTER_NOT_INSTALLED, packagekit.client.PROVIDES_MIMETYPE, "image/x-xcf") for package in packages: print str (package) Actual results: TypeError: iteration over non-sequence Expected results: List of packages. Additional info: Patch attached (created using git format-patch against current master).
commit 09c55360b1262e89ec626fb4dc071ba5746a702b Author: Tim Waugh <twaugh> Date: Fri Nov 20 17:38:52 2009 +0000 Fixed packagekit.client.what_provides() in Python bindings. Will be in 0.5.5 which is released in a little under two weeks. Yell if you want me the build an F12 update in the meantime.