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

[PATCH 05/14] Use correct format of cdrom: repo= parameter.



Doc says: repo=cdrom:<device>. We don't support path here.
---
 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 2877a5c..3262a78 100644
--- a/iw/task_gui.py
+++ b/iw/task_gui.py
@@ -291,7 +291,7 @@ class RepoEditor:
                                       "and try again."))
             return False
 
-        return setupBaseRepo(self.anaconda, "cdrom://%s:%s" % (cdr, self.anaconda.backend.ayum.tree))
+        return setupBaseRepo(self.anaconda, "cdrom:%s" % (cdr,))
 
     def _applyNfs(self, repo):
         server = self.nfsServerEntry.get_text()
@@ -419,7 +419,7 @@ class RepoMethodstrEditor(RepoEditor):
                                       "and try again."))
             return False
 
-        return "cdrom://%s:%s" % (cdr, "/mnt/source")
+        return "cdrom:%s" % (cdr,)
 
     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]