[PATCH 03/12] BugzillaFiler.__init__ now requires a bugUrl, version, and product.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



---
 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

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list

[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux