[master/rhel7-branch] Fix issues with entropy dialog and tui-only

Vratislav Podzimek vpodzime at redhat.com
Wed Oct 8 08:55:38 UTC 2014


In case only the anaconda-tui package is installed, the
pyanaconda/ui/lib/entropy.py causes a crash because it tries to import Gtk and a
bunch of GUI-specific things. These two patches together fix the issue.


For rhel7-branch they are marked as related to the original bug requesting
entropy checking and enforcing.

Vratislav Podzimek (2):
  Always store the information about display mode in ksdata
  Import GUI-specific stuff only when running GUI in entropy handling

 anaconda                                       | 14 +++++++-------
 pyanaconda/ui/gui/spokes/lib/entropy_dialog.py | 10 +++++++++-
 pyanaconda/ui/lib/entropy.py                   | 20 ++++++--------------
 3 files changed, 22 insertions(+), 22 deletions(-)

-- 
1.9.3



More information about the anaconda-patches mailing list