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

Re: [PATCH] methodstr -> self.methodstr





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:


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