diff options
author | Chris Lumens <clumens@redhat.com> | 2009-07-15 14:44:16 -0400 |
---|---|---|
committer | Chris Lumens <clumens@redhat.com> | 2009-07-29 15:25:02 -0400 |
commit | d7c152741926e596147cddad3051dfbda19c8f10 (patch) | |
tree | 1fc5c77c27224142f461423fefe4385ca9a2c77c | |
parent | b2354c161be732ce3605e337bb852ccf5f55a678 (diff) | |
download | anaconda-d7c152741926e596147cddad3051dfbda19c8f10.tar.gz anaconda-d7c152741926e596147cddad3051dfbda19c8f10.tar.xz anaconda-d7c152741926e596147cddad3051dfbda19c8f10.zip |
BugzillaFiler.__init__ now requires a bugUrl, version, and product.
-rw-r--r-- | installclass.py | 6 | ||||
-rw-r--r-- | installclasses/fedora.py | 6 | ||||
-rw-r--r-- | 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) |