summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Lumens <clumens@redhat.com>2006-09-18 18:16:24 +0000
committerChris Lumens <clumens@redhat.com>2006-09-18 18:16:24 +0000
commite400bc77bf6791b80907e85ed033201d0ed10166 (patch)
treea091cf67ac11e91b75efe90b722cdeef22f1b39d
parent74cd5376d8fc7a63dda91d8b3117fb0c4c4fd7d7 (diff)
downloadanaconda-e400bc77bf6791b80907e85ed033201d0ed10166.tar.gz
anaconda-e400bc77bf6791b80907e85ed033201d0ed10166.tar.xz
anaconda-e400bc77bf6791b80907e85ed033201d0ed10166.zip
Fix misleading error message.
-rw-r--r--ChangeLog2
-rwxr-xr-xgui.py2
2 files changed, 3 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 6420e768d..e9e85e0bc 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,7 @@
2006-09-18 Chris Lumens <clumens@redhat.com>
+ * gui.py (findGladeFile): Fix misleading error message.
+
* loader2/module-info: Remove hostap from initrd (#196334).
* loader2/urlinstall.c: Remove check for repodata/repomd.xml that
diff --git a/gui.py b/gui.py
index bf1f70a10..33e21f6f3 100755
--- a/gui.py
+++ b/gui.py
@@ -399,7 +399,7 @@ def findGladeFile(file):
fn = dir + file
if os.access(fn, os.R_OK):
return fn
- raise RuntimeError, "Unable to find glade file %s" %(fn,)
+ raise RuntimeError, "Unable to find glade file %s" % file
def getGladeWidget(file, rootwidget, i18ndomain="anaconda"):
f = findGladeFile(file)