diff options
author | Chris Lumens <clumens@redhat.com> | 2008-06-19 15:14:52 -0400 |
---|---|---|
committer | Chris Lumens <clumens@redhat.com> | 2008-06-19 15:14:52 -0400 |
commit | 4eb69c1c9bc805f79be8eb0e41b974d635dd4747 (patch) | |
tree | 0855e16ac05c7043718438c2cbc99461b7e847c6 /exception.py | |
parent | 1c097e74d964f901d5dec113b0258a996135b43a (diff) | |
download | anaconda-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.py | 7 |
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"), |