summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Lumens <clumens@redhat.com>2008-07-31 17:49:51 -0400
committerChris Lumens <clumens@redhat.com>2008-07-31 17:49:51 -0400
commit504bd3283554ff5197caf523f77ed04498efb56f (patch)
tree080ee6741994c3eb905e4d7cc83cfa01acb5d4ac
parentdea08c6442abbcd9349dc4c6c0ff408847c3926d (diff)
downloadanaconda-504bd3283554ff5197caf523f77ed04498efb56f.tar.gz
anaconda-504bd3283554ff5197caf523f77ed04498efb56f.tar.xz
anaconda-504bd3283554ff5197caf523f77ed04498efb56f.zip
Don't try to use self.tree as the mode to open .discinfo.
-rw-r--r--image.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/image.py b/image.py
index f942fe182..c9c99b249 100644
--- a/image.py
+++ b/image.py
@@ -209,7 +209,7 @@ def presentRequiredMediaMessage(anaconda):
if os.access("%s/.discinfo" % anaconda.backend.ayum.tree, os.R_OK):
discNums = []
try:
- f = open("%s/.discinfo", anaconda.backend.ayum.tree)
+ f = open("%s/.discinfo" % anaconda.backend.ayum.tree)
stamp = f.readline().strip()
descr = f.readline().strip()
arch = f.readline().strip()