summaryrefslogtreecommitdiffstats
path: root/pyanaconda
diff options
context:
space:
mode:
authorJesse Keating <jkeating@redhat.com>2012-08-24 11:36:22 -0700
committerJesse Keating <jkeating@redhat.com>2012-08-27 16:53:40 -0700
commit93f776d47cc0dd144e3fcb5264094994cae374f1 (patch)
tree78d2651b3d1797837e526579f3073e33d3def753 /pyanaconda
parent74cc95fd7326f5c65052c774baa02bbcba867124 (diff)
downloadanaconda-93f776d47cc0dd144e3fcb5264094994cae374f1.tar.gz
anaconda-93f776d47cc0dd144e3fcb5264094994cae374f1.tar.xz
anaconda-93f776d47cc0dd144e3fcb5264094994cae374f1.zip
Unset install_device if repo setup fails
We're unsetting method there too, we need to unset the install_device so that we don't try and mount it later.
Diffstat (limited to 'pyanaconda')
-rw-r--r--pyanaconda/packaging/yumpayload.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/pyanaconda/packaging/yumpayload.py b/pyanaconda/packaging/yumpayload.py
index 67c9e5920..0a2d12656 100644
--- a/pyanaconda/packaging/yumpayload.py
+++ b/pyanaconda/packaging/yumpayload.py
@@ -380,6 +380,7 @@ reposdir=%s
# this preserves the method details while disabling it
self.data.method.method = None
+ self.install_device = None
finally:
self._yumCacheDirHack()