[blivet][master] Move the Blivet class into its own module

Vratislav Podzimek vpodzime at redhat.com
Fri Feb 13 13:51:24 UTC 2015


See commit message for some explanation. But the most important thing is:
"See? No related anaconda change! The API is not changed by this patch."

That's possible thanks to the _LazyImportObject class which does quite a neat
trick to make sure we don't change the API while not importing everything the
Blivet class needs right away on any import from the blivet package.

Vratislav Podzimek (1):
  Move the Blivet class into its own module

 blivet/__init__.py                  | 1879 +----------------------------------
 blivet/blivet.py                    | 1858 ++++++++++++++++++++++++++++++++++
 tests/pylint/pylint-false-positives |    4 +-
 3 files changed, 1891 insertions(+), 1850 deletions(-)
 create mode 100644 blivet/blivet.py

-- 
2.1.0



More information about the anaconda-patches mailing list