[PATCH 2/3] yuminstall: Fix indentation error

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.
---
 yuminstall.py |    9 +++++----
 1 files changed, 5 insertions(+), 4 deletions(-)

diff --git a/yuminstall.py b/yuminstall.py
index ab34dfb..d8b2a25 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"
 
-- 
1.6.5.2

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list

[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux