Re: [PATCH 11/15] Use HAL to probe for disks. Add a removableDriveDict for use by the exception dialog.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list

[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux