[blivet] Drop our pyudev in favor of python-pyudev

Vratislav Podzimek vpodzime at redhat.com
Wed Jul 30 07:30:38 UTC 2014


On Tue, 2014-07-29 at 13:10 -0500, David Lehman wrote:
> This is nice in that we can drop some custom code, but python-pyudev
> also provides classes that make it really easy to listen for uevents.
> 
> David Lehman (5):
>   Replace our pyudev with the package python-pyudev.
>   Cache MD metadata while populating the devicetree.
>   Remove an obsolete block related to unpredictable md device names.
>   Keep lvm and md metadata separate from udev info.
>   Adapt multipath detection code to external pyudev module.
> 
>  blivet/deviceaction.py |   4 +-
>  blivet/devices.py      |  95 +++++++--------------
>  blivet/devicetree.py   | 147 +++++++++++++++-----------------
>  blivet/pyudev.py       | 226 -------------------------------------------------
>  blivet/udev.py         | 122 +++++++++-----------------
>  blivet/util.py         |   2 +-
>  python-blivet.spec     |   1 +
>  tests/udev_test.py     |  91 +-------------------
>  8 files changed, 141 insertions(+), 547 deletions(-)
>  delete mode 100644 blivet/pyudev.py
Other than that two comments these look good to me. Good riddance! And
a giant leap towards listening to udev events, I guess?

-- 
Vratislav Podzimek

Anaconda Rider | RHCE | Red Hat, Inc. | Brno - Czech Republic




More information about the anaconda-patches mailing list