summaryrefslogtreecommitdiffstats
path: root/yuminstall.py
diff options
context:
space:
mode:
authorHans de Goede <hdegoede@redhat.com>2009-12-16 10:27:11 +0100
committerHans de Goede <hdegoede@redhat.com>2009-12-16 10:27:11 +0100
commitc77e724ad814cbfb16310fe297092ba3a2c32d9a (patch)
tree83f4f1c399bf8900fbc4611c4e4e7f1c7a74c4e7 /yuminstall.py
parent6ea73bb4f3a1553bed3c98204ce4dc3de62bb8b8 (diff)
downloadanaconda-c77e724ad814cbfb16310fe297092ba3a2c32d9a.tar.gz
anaconda-c77e724ad814cbfb16310fe297092ba3a2c32d9a.tar.xz
anaconda-c77e724ad814cbfb16310fe297092ba3a2c32d9a.zip
yuminstall: Fix indentation error
Commit a75aa437f6fcbf988904b8a630cc82ef12c98dd6, leaves the block of code this patch re-indents wrongly indented, causing to only be executed in the else: case of the if above it, while it should be always executed.
Diffstat (limited to 'yuminstall.py')
-rw-r--r--yuminstall.py9
1 files changed, 5 insertions, 4 deletions
diff --git a/yuminstall.py b/yuminstall.py
index ab34dfbee..d8b2a25ad 100644
--- a/yuminstall.py
+++ b/yuminstall.py
@@ -437,11 +437,12 @@ class AnacondaYum(YumSorter):
(device, path) = m[3:].split(":")
else:
(device, fstype, path) = m[3:].split(":")
- self.isodir = "/mnt/isodir/%s" % path
- # This takes care of mounting /mnt/isodir first.
- self._switchImage(1)
- self.mediagrabber = self.mediaHandler
+ self.isodir = "/mnt/isodir/%s" % path
+
+ # This takes care of mounting /mnt/isodir first.
+ self._switchImage(1)
+ self.mediagrabber = self.mediaHandler
elif m.startswith("nfsiso:"):
self.isodir = "/mnt/isodir"