--- storage/__init__.py | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/storage/__init__.py b/storage/__init__.py index 3ad9286..c004862 100644 --- a/storage/__init__.py +++ b/storage/__init__.py @@ -104,14 +104,14 @@ def storageInitialize(anaconda): if not storage.disks: custom_buttons=[_("_Try again"), _("_Exit installer")] - if anaconda.dispatch.canGoBack(): + if anaconda.dispatch and anaconda.dispatch.canGoBack(): custom_buttons = [_("_Back"), _("_Exit installer")] rc = anaconda.intf.messageWindow(_("No disks found"), _("No usable disks have been found."), type="custom", custom_buttons=custom_buttons, default=0) if rc == 0: - if anaconda.dispatch.canGoBack(): + if anaconda.dispatch and anaconda.dispatch.canGoBack(): return DISPATCH_BACK else: return storageInitialize(anaconda) -- 1.7.4.4 _______________________________________________ Anaconda-devel-list mailing list Anaconda-devel-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/anaconda-devel-list