From d7c152741926e596147cddad3051dfbda19c8f10 Mon Sep 17 00:00:00 2001 From: Chris Lumens Date: Wed, 15 Jul 2009 14:44:16 -0400 Subject: BugzillaFiler.__init__ now requires a bugUrl, version, and product. --- installclass.py | 6 ++++-- installclasses/fedora.py | 6 ++++-- installclasses/rhel.py | 6 ++++-- 3 files changed, 12 insertions(+), 6 deletions(-) diff --git a/installclass.py b/installclass.py index d0f535d6f..c16cb0480 100644 --- a/installclass.py +++ b/installclass.py @@ -31,7 +31,8 @@ import types from instdata import InstallData from constants import * -from filer import * +from meh.filer import * +from product import * from storage.partspec import * import gettext @@ -56,7 +57,8 @@ class BaseInstallClass(object): # default to showing the upgrade option showUpgrade = True - bugFiler = AbstractFiler() + bugFiler = AbstractFiler(product.bugUrl, product.bugUrl, + product.productVersion, product.productName) # list of of (txt, grplist) tuples for task selection screen tasks = [] diff --git a/installclasses/fedora.py b/installclasses/fedora.py index 98002ed0c..c27767ec4 100644 --- a/installclasses/fedora.py +++ b/installclasses/fedora.py @@ -20,7 +20,7 @@ from installclass import BaseInstallClass from constants import * from product import * -from filer import * +from meh.filer import * from flags import flags import os, types import iutil @@ -50,7 +50,9 @@ class InstallClass(BaseInstallClass): (N_("Software Development"), ["development-libs", "development-tools", "gnome-software-development", "x-software-development"],), (N_("Web Server"), ["web-server"])] - bugFiler = BugzillaFiler(bugUrl="https://bugzilla.redhat.com/xmlrpc.cgi", + bugFiler = BugzillaFiler("https://bugzilla.redhat.com/xmlrpc.cgi", + "https://bugzilla.redhat.com/", + product.productVersion, product.productName, develVersion="rawhide", defaultProduct="Fedora") def getPackagePaths(self, uri): diff --git a/installclasses/rhel.py b/installclasses/rhel.py index 5906c8e11..0cb291fb9 100644 --- a/installclasses/rhel.py +++ b/installclasses/rhel.py @@ -20,7 +20,7 @@ from installclass import BaseInstallClass from constants import * from product import * -from filer import * +from meh.filer import * from flags import flags import os import iutil @@ -79,7 +79,9 @@ class InstallClass(BaseInstallClass): skipkeytext = N_("If you cannot locate the Installation Number, consult " "http://www.redhat.com/InstNum/") - bugFiler = BugzillaFiler(bugUrl="https://bugzilla.redhat.com/xmlrpc.cgi") + bugFiler = BugzillaFiler("https://bugzilla.redhat.com/xmlrpc.cgi", + "https://bugzilla.redhat.com/", + product.productVersion, product.productName) def setInstallData(self, anaconda): BaseInstallClass.setInstallData(self, anaconda) -- cgit