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

[PATCH 04/14] Do not use object we are creating.



---
 iw/task_gui.py |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/iw/task_gui.py b/iw/task_gui.py
index da3d2ff..2877a5c 100644
--- a/iw/task_gui.py
+++ b/iw/task_gui.py
@@ -411,7 +411,7 @@ class RepoMethodstrEditor(RepoEditor):
         return repourl
 
     def _applyMedia(self):
-        cdr = scanForMedia(self.anaconda.backend.ayum.tree, self.anaconda.id.storage)
+        cdr = scanForMedia("/mnt/source", self.anaconda.id.storage)
         if not cdr:
             self.intf.messageWindow(_("No Media Found"),
                                     _("No installation media was found. "
@@ -419,7 +419,7 @@ class RepoMethodstrEditor(RepoEditor):
                                       "and try again."))
             return False
 
-        return "cdrom://%s:%s" % (cdr, self.anaconda.backend.ayum.tree)
+        return "cdrom://%s:%s" % (cdr, "/mnt/source")
 
     def _applyNfs(self):
         server = self.nfsServerEntry.get_text()
-- 
1.6.0.6


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