[master] First step on the way to sane Custom spoke's code

Vratislav Podzimek vpodzime at redhat.com
Fri Mar 7 20:59:29 UTC 2014


This patch splits the code that is not part of the Custom spoke out from the
custom.py file to make it shorter and less complex. The same applies to
custom.glade.

It is only a first step, more patches will come soon. I have ~30 red notes in
the printed version of the custom.py code that will probably result in quite a
lot of patches and hopefully in quite better-readable code in the custom.py
module that has grown hardly maintainable in last two years.

Vratislav Podzimek (1):
  Split out helper code from the Custom partitioning spoke

 pyanaconda/ui/gui/spokes/custom.glade              |  988 ------------------
 pyanaconda/ui/gui/spokes/custom.py                 |  665 +-----------
 .../ui/gui/spokes/lib/custom_storage_helpers.glade | 1059 ++++++++++++++++++++
 .../ui/gui/spokes/lib/custom_storage_helpers.py    |  658 ++++++++++++
 4 files changed, 1745 insertions(+), 1625 deletions(-)
 create mode 100644 pyanaconda/ui/gui/spokes/lib/custom_storage_helpers.glade
 create mode 100644 pyanaconda/ui/gui/spokes/lib/custom_storage_helpers.py

-- 
1.8.5.3



More information about the anaconda-patches mailing list