summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Lumens <clumens@redhat.com>2009-07-15 14:44:16 -0400
committerChris Lumens <clumens@redhat.com>2009-07-29 15:25:02 -0400
commitd7c152741926e596147cddad3051dfbda19c8f10 (patch)
tree1fc5c77c27224142f461423fefe4385ca9a2c77c
parentb2354c161be732ce3605e337bb852ccf5f55a678 (diff)
downloadanaconda-d7c152741926e596147cddad3051dfbda19c8f10.tar.gz
anaconda-d7c152741926e596147cddad3051dfbda19c8f10.tar.xz
anaconda-d7c152741926e596147cddad3051dfbda19c8f10.zip
BugzillaFiler.__init__ now requires a bugUrl, version, and product.
-rw-r--r--installclass.py6
-rw-r--r--installclasses/fedora.py6
-rw-r--r--installclasses/rhel.py6
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)