--- exception.py | 18 ++++++++++++++++++ 1 files changed, 18 insertions(+), 0 deletions(-) diff --git a/exception.py b/exception.py index 75aff94..8417ee7 100644 --- a/exception.py +++ b/exception.py @@ -432,6 +432,24 @@ def runSaveDialog(anaconda, exn): "disk.")) continue else: + import network + if not network.hasActiveNetDev(): + if os.environ.has_key("DISPLAY"): + from netconfig_dialog import NetworkConfigurator + import gtk + + net = NetworkConfigurator(anaconda.id.network) + ret = net.run() + net.destroy() + + if ret != gtk.RESPONSE_CANCEL: + continue + else: + anaconda.intf.messageWindow(_("No Network Available"), + _("Cannot save a bug report since there is no " + "active networking device available.")) + continue + if not saveToBugzilla(anaconda, exn, saveWin.getDest()): continue elif rc == EXN_CANCEL: -- 1.5.4.5 _______________________________________________ Anaconda-devel-list mailing list Anaconda-devel-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/anaconda-devel-list