summaryrefslogtreecommitdiffstats
path: root/exception.py
diff options
context:
space:
mode:
authorChris Lumens <clumens@redhat.com>2008-06-19 15:14:52 -0400
committerChris Lumens <clumens@redhat.com>2008-06-19 15:14:52 -0400
commit4eb69c1c9bc805f79be8eb0e41b974d635dd4747 (patch)
tree0855e16ac05c7043718438c2cbc99461b7e847c6 /exception.py
parent1c097e74d964f901d5dec113b0258a996135b43a (diff)
downloadanaconda-4eb69c1c9bc805f79be8eb0e41b974d635dd4747.tar.gz
anaconda-4eb69c1c9bc805f79be8eb0e41b974d635dd4747.tar.xz
anaconda-4eb69c1c9bc805f79be8eb0e41b974d635dd4747.zip
Move enableNetwork into the interface. Bring network up for scp.
Diffstat (limited to 'exception.py')
-rw-r--r--exception.py7
1 files changed, 5 insertions, 2 deletions
diff --git a/exception.py b/exception.py
index 86ff6c9cb..160806e14 100644
--- a/exception.py
+++ b/exception.py
@@ -374,8 +374,11 @@ def runSaveDialog(anaconda, longTracebackFile):
"disk."))
continue
else:
- scpInfo = saveWin.getDest()
- scpSucceeded = copyExceptionToRemote(anaconda.intf, scpInfo)
+ if not network.hasActiveNetDev() and not anaconda.intf.enableNetwork(anaconda):
+ scpSucceeded = False
+ else:
+ scpInfo = saveWin.getDest()
+ scpSucceeded = copyExceptionToRemote(anaconda.intf, scpInfo)
if scpSucceeded:
anaconda.intf.messageWindow(_("Dump Written"),