diff options
author | Chris Lumens <clumens@redhat.com> | 2008-08-13 15:02:00 -0400 |
---|---|---|
committer | Chris Lumens <clumens@redhat.com> | 2008-08-13 15:02:00 -0400 |
commit | a3b6d391ba1431c77facc73be76513fde3ae249a (patch) | |
tree | 8e932f3babbfb6413626fdf0148da495aa1b2838 /exception.py | |
parent | 6888001e4177b4da3d50420b42f45ba52a9b82e8 (diff) | |
download | anaconda-a3b6d391ba1431c77facc73be76513fde3ae249a.tar.gz anaconda-a3b6d391ba1431c77facc73be76513fde3ae249a.tar.xz anaconda-a3b6d391ba1431c77facc73be76513fde3ae249a.zip |
Bring up the network before saving a bug via scp.
Diffstat (limited to 'exception.py')
-rw-r--r-- | exception.py | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/exception.py b/exception.py index ffb37fabb..12a108e9a 100644 --- a/exception.py +++ b/exception.py @@ -501,6 +501,13 @@ def runSaveDialog(anaconda, exn): "disk.")) continue elif saveWin.saveToRemote(): + if not hasActiveNetDev(): + if not anaconda.intf.enableNetwork(anaconda): + anaconda.intf.messageWindow(_("No Network Available"), + _("Cannot save a bug report since there is no " + "active networking device available.")) + continue + scpInfo = saveWin.getDest() scpSucceeded = copyExceptionToRemote(anaconda.intf, scpInfo) |