Created attachment 327927 [details] Fix Description of problem: bus.get_object() can accept only two arguments. Version-Release number of selected component (if applicable): rhpl-0.218-1 How reproducible: It's hidden by "except *" statement. Steps to Reproduce: 1. use command line python: >>> import dbus >>> bus = dbus.SystemBus() >>> hal = dbus.Interface(bus.get_object("org.freedesktop.Hal","/org/freedesktop/Hal/Manager"),"org.freedesktop.Hal.Manager") >>> kbs = hal.FindDeviceByCapability("input.keyboard") >>> kb = dbus.Interface(bus.get_object("org.freedesktop.Hal", kbs[0], 'org.freedesktop.Hal.Device')) Traceback (most recent call last): File "<stdin>", line 1, in <module> TypeError: __init__() takes exactly 3 arguments (2 given) >>> Actual results: Traceback. Expected results: kb should be interface to first keyboard device. Additional info: See attached patch with fix.
Sorry, for hijacking of this bug, but when you will be in fixing keyboard.py, could you also fix the indentation: [matej@viklef rhpl]$ tabnanny keyboard.py keyboard.py 111 '\t os.unlink(instPath + "/etc/sysconfig/console/default.kmap")\n' [matej@viklef rhpl]$ Don't you run everything through tabnanny as part of QA?
This will be fixed in the next build of rhpl. Thanks for the patch.