[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
[PATCH 03/12] BugzillaFiler.__init__ now requires a bugUrl, version, and product.
- From: Chris Lumens <clumens redhat com>
- To: anaconda-devel-list redhat com
- Cc:
- Subject: [PATCH 03/12] BugzillaFiler.__init__ now requires a bugUrl, version, and product.
- Date: Tue, 28 Jul 2009 16:26:59 -0400
---
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 d0f535d..c16cb04 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 98002ed..c27767e 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 5906c8e..0cb291f 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)
--
1.6.1.3
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]