[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: [PATCH 11/15] Use HAL to probe for disks. Add a removableDriveDict for use by the exception dialog.
- From: Jeremy Katz <katzj redhat com>
- To: Discussion of Development and Customization of the Red Hat Linux Installer <anaconda-devel-list redhat com>
- Subject: Re: [PATCH 11/15] Use HAL to probe for disks. Add a removableDriveDict for use by the exception dialog.
- Date: Thu, 06 Dec 2007 11:53:15 -0500
On Wed, 2007-12-05 at 18:24 -0500, Bill Nottingham wrote:
> + import dbus
> +
> + bus = dbus.SystemBus()
> +
> + halobj = bus.get_object("org.freedesktop.Hal","/org/freedesktop/Hal/Manager")
> + hal = dbus.Interface(halobj, "org.freedesktop.Hal.Manager")
> +
Some of these can and do raise exceptions. Also, it'd probably be a
little cleaner if we had an abstraction around the hal stuff so that we
could avoid littering the world with dbus calls. That would also make
it a little easier to adapt in the future when hal is rewritten.
Jeremy
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]