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

[PATCH master] Fix bugs from porting nm-c-e patches from rhel to fedora (#520146)



---
 __init__.py            |    2 +-
 iw/advanced_storage.py |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/__init__.py b/__init__.py
index fff0d1e..72e0f3f 100644
--- a/__init__.py
+++ b/__init__.py
@@ -300,7 +300,7 @@ class Anaconda(object):
         self.instLanguage.write(self.rootPath)
 
         self.timezone.write(self.rootPath)
-        self.network.write(anaconda=anaconda)
+        self.network.write(anaconda=self)
         self.network.copyConfigToPath(instPath=self.rootPath)
         self.desktop.write(self.rootPath)
         self.users.write(self.rootPath)
diff --git a/iw/advanced_storage.py b/iw/advanced_storage.py
index 3e517dc..5f14e54 100644
--- a/iw/advanced_storage.py
+++ b/iw/advanced_storage.py
@@ -106,7 +106,7 @@ def addFcoeDrive(anaconda):
 
 def addIscsiDrive(anaconda):
     if not network.hasActiveNetDev():
-        if not self.anaconda.intf.enableNetwork()
+        if not self.anaconda.intf.enableNetwork():
             return gtk.RESPONSE_CANCEL
 
     (dxml, dialog) = gui.getGladeWidget("iscsi-config.glade", "iscsiDialog")
-- 
1.6.0.6


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