Re: [PATCH] methodstr -> self.methodstr

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

 





David Cantrell wrote:
---
 anaconda |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)


Looks like a big improvement to me :)

Regards,

Hans

diff --git a/anaconda b/anaconda
index 73fba85..ec0ba47 100755
--- a/anaconda
+++ b/anaconda
@@ -578,9 +578,9 @@ class Anaconda:
         numNetDevs = isys.getNetworkDeviceCount()
if self.methodstr is not None:
-            if (methodstr.startswith("http://";) or \
-                methodstr.startswith("ftp://";) or \
-                methodstr.startswith("nfs:")) and \
+            if (self.methodstr.startswith("http://";) or \
+                self.methodstr.startswith("ftp://";) or \
+                self.methodstr.startswith("nfs:")) and \
                numNetDevs == 0:
                 fail = True
         elif self.stage2 is not None:

_______________________________________________
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