[PATCH] Add a missing %s for .discinfo path

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

 



---
 image.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/image.py b/image.py
index 93d5cbe..6beedf3 100644
--- a/image.py
+++ b/image.py
@@ -206,7 +206,7 @@ def presentRequiredMediaMessage(anaconda):
         return
 
     # check what discs our currently mounted one provides
-    if os.access("/.discinfo" % anaconda.backend.ayum.tree, os.R_OK):
+    if os.access("%s/.discinfo" % anaconda.backend.ayum.tree, os.R_OK):
         discNums = []
         try:
             f = open("%s/.discinfo", anaconda.backend.ayum.tree)
-- 
1.5.3.7

-- 
Jesse Keating
Fedora -- All my bits are free, are yours?
From 3136af07323c554722dacc4c1206a057377d8b8f Mon Sep 17 00:00:00 2001
From: Jesse Keating <jkeating@xxxxxxxxxx>
Date: Thu, 3 Jan 2008 16:18:28 -0500
Subject: [PATCH] Add a missing %s for .discinfo path

---
 image.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/image.py b/image.py
index 93d5cbe..6beedf3 100644
--- a/image.py
+++ b/image.py
@@ -206,7 +206,7 @@ def presentRequiredMediaMessage(anaconda):
         return
 
     # check what discs our currently mounted one provides
-    if os.access("/.discinfo" % anaconda.backend.ayum.tree, os.R_OK):
+    if os.access("%s/.discinfo" % anaconda.backend.ayum.tree, os.R_OK):
         discNums = []
         try:
             f = open("%s/.discinfo", anaconda.backend.ayum.tree)
-- 
1.5.3.7

Attachment: signature.asc
Description: PGP signature

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list

[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux