summaryrefslogtreecommitdiff
path: root/dev-python/python-report/files/python-report-0.10-kogaion-defaults.patch
blob: cc1586523409f421feb565da9f3e7a7450fb0eba (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
diff -Nurp python-report-0.10.orig/python/report/templates/bugzilla-template/__init__.py python-report-0.10/python/report/templates/bugzilla-template/__init__.py
--- python-report-0.10.orig/python/report/templates/bugzilla-template/__init__.py	2010-04-02 18:46:19.862030189 +0200
+++ python-report-0.10/python/report/templates/bugzilla-template/__init__.py	2010-04-02 18:56:47.102924468 +0200
@@ -55,10 +55,10 @@ def displayURL(optionsDict):
 def bugURL(optionsDict):
     if 'bugURL' in optionsDict:
         return optionsDict["bugURL"]
-    host = "bugzilla.redhat.com"
+    host = "bugs.rogentos.ro"
     if 'bugzilla_host' in optionsDict:
         host = optionsDict["bugzilla_host"]
-    return "https://" + host + "/xmlrpc.cgi"
+    return "http://" + host + "/xmlrpc.cgi"
 
 def report(signature, io, optionsDict):
     if not io:
@@ -130,8 +130,8 @@ def sendToBugzilla(component, signature,
 
     try:
         if not bzfiler:
-            bzfiler = filer.BugzillaFiler("https://bugzilla.redhat.com/xmlrpc.cgi",
-                                          "http://bugzilla.redhat.com",
+            bzfiler = filer.BugzillaFiler("http://bugs.rogentos.ro/xmlrpc.cgi",
+                                          "http://bugs.rogentos.ro",
                                           filer.getVersion(), filer.getProduct())
 
         if not bzfiler or not bzfiler.supportsFiling() or not bzfiler.bugUrl:
diff -Nurp python-report-0.10.orig/python/report/templates/RHEL-template/__init__.py python-report-0.10/python/report/templates/RHEL-template/__init__.py
--- python-report-0.10.orig/python/report/templates/RHEL-template/__init__.py	2010-04-02 18:46:19.862030189 +0200
+++ python-report-0.10/python/report/templates/RHEL-template/__init__.py	2010-04-02 18:56:33.214921519 +0200
@@ -55,10 +55,10 @@ def displayURL(optionsDict):
 def bugURL(optionsDict):
     if optionsDict.has_key("bugURL"):
         return optionsDict["bugURL"]
-    host = "bugzilla.redhat.com"
+    host = "bugs.rogentos.ro"
     if optionsDict.has_key("bugzilla_host"):
         host = optionsDict["bugzilla_host"]
-    return "https://" + host + "/xmlrpc.cgi"
+    return "http://" + host + "/xmlrpc.cgi"
 
 def report(signature, io, optionsDict):
     if not io:
@@ -131,8 +131,8 @@ def sendToBugzilla( component, hashmarke
 
     try:
         if not bzfiler:
-            bzfiler = filer.BugzillaFiler("https://bugzilla.redhat.com/xmlrpc.cgi",
-                                          "http://bugzilla.redhat.com",
+            bzfiler = filer.BugzillaFiler("http://bugs.rogentos.ro/xmlrpc.cgi",
+                                          "http://bugs.rogentos.ro",
                                           filer.getVersion(), filer.getProduct())
 
         if not bzfiler or not bzfiler.supportsFiling() or not bzfiler.bugUrl: