[blivet:master 0/3] Split devices.py into two parts

mulhern amulhern at redhat.com
Thu Oct 2 16:08:13 UTC 2014


Also, fix up a few imports. If the second patch is accepted there is
an import in anaconda to fix up as well, although apparently it is nothing
to be proud of.

The split is very unequal, but it's a simple way to fight the expansion
of devices.py, so I feel like it is still worth doing.

mulhern (3):
  Add a devices_lib.py file for some devices.py functionality.
  Move mixin class from devices.py to devices_lib.py
  Remove device_majors from devices_lib.py

 blivet/__init__.py        |   3 +-
 blivet/devicelibs/dasd.py |   2 +-
 blivet/devices.py         | 208 ++++++----------------------------------------
 blivet/devices_lib.py     | 173 ++++++++++++++++++++++++++++++++++++++
 blivet/devicetree.py      |   2 +-
 blivet/partitioning.py    |   3 +-
 blivet/udev.py            |   6 +-
 tests/devices_test.py     |   2 +-
 tests/parentlist_test.py  |   2 +-
 9 files changed, 211 insertions(+), 190 deletions(-)
 create mode 100644 blivet/devices_lib.py

-- 
1.9.3



More information about the anaconda-patches mailing list