summaryrefslogtreecommitdiffstats
path: root/packages.py
diff options
context:
space:
mode:
authorJeremy Katz <katzj@redhat.com>2003-07-18 03:18:42 +0000
committerJeremy Katz <katzj@redhat.com>2003-07-18 03:18:42 +0000
commitf9c2b5572b812c2547f2b043b10c330559e972a0 (patch)
tree2bbce4b8128737bd8bdd8837f81c1df0f15d6c11 /packages.py
parent9c21c9a9160d2b56ba806d374d2bb40b8a8f08a7 (diff)
downloadanaconda-f9c2b5572b812c2547f2b043b10c330559e972a0.tar.gz
anaconda-f9c2b5572b812c2547f2b043b10c330559e972a0.tar.xz
anaconda-f9c2b5572b812c2547f2b043b10c330559e972a0.zip
ugly way of handling what to file bugs against better (#99349)
Diffstat (limited to 'packages.py')
-rw-r--r--packages.py16
1 files changed, 14 insertions, 2 deletions
diff --git a/packages.py b/packages.py
index 52d056af6..32bd18213 100644
--- a/packages.py
+++ b/packages.py
@@ -1247,8 +1247,20 @@ def depmodModules(comps, instPath):
def betaNagScreen(intf, dir):
+ publicBetas = { "Red Hat Linux": "Red Hat Linux Public Beta",
+ "Red Hat Enterprise Linux": "Red Hat Enterprise Linux Public Beta" }
+
+
if dir == DISPATCH_BACK:
return DISPATCH_NOOP
+
+ fileagainst = None
+ for (key, val) in publicBetas.items():
+ if productName.startswith(key):
+ fileagainst = val
+
+ if fileagainst is None:
+ fileagainst = "%s Beta" %(productName,)
while 1:
rc = intf.messageWindow( _("Warning! This is a beta!"),
@@ -1262,8 +1274,8 @@ def betaNagScreen(intf, dir):
"for day to day usage.\n\n"
"To report feedback, please visit:\n\n"
" http://bugzilla.redhat.com/bugzilla\n\n"
- "and file a report against '%s Beta'.\n"
- %(productName, productName,)),
+ "and file a report against '%s'.\n"
+ %(productName, fileagainst)),
type="custom", custom_icon="warning",
custom_buttons=[_("_Exit"), _("_Install BETA")])