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

[PATCH] methodstr -> self.methodstr



---
 anaconda |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

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:
-- 
1.6.0.3


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