Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 838876 Details for
Bug 1031840
downloading of kernel info from the Partner's site should be removed.
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
patch remove the code which downloads the kernel info file from partner's site
0001-1031840-downloading-of-kernel-info-from-the-Partner-.patch (text/plain), 2.16 KB, created by
Dong Zhu
on 2013-12-19 09:21:37 UTC
(
hide
)
Description:
patch remove the code which downloads the kernel info file from partner's site
Filename:
MIME Type:
Creator:
Dong Zhu
Created:
2013-12-19 09:21:37 UTC
Size:
2.16 KB
patch
obsolete
>From f3ba28317ed90229ce7767eb21d954c2c14dbd18 Mon Sep 17 00:00:00 2001 >From: Dong Zhu <dzhu@redhat.com> >Date: Thu, 19 Dec 2013 17:18:21 +0800 >Subject: [PATCH] 1031840 - downloading of kernel info from the Partner's site > should be removed > >Signed-off-by: Dong Zhu <dzhu@redhat.com> >--- > tests/info/info.py | 28 +--------------------------- > 1 file changed, 1 insertion(+), 27 deletions(-) > >diff --git a/tests/info/info.py b/tests/info/info.py >index 5adc68e..443889d 100644 >--- a/tests/info/info.py >+++ b/tests/info/info.py >@@ -170,35 +170,9 @@ class InfoTest(Test): > > kernelInfo = None > kernelInfoFile = "kernelInfo.xml" >- #try to download the kernel info file >- fileURL = self.environment.getPartnerServerURL() + kernelInfoFile >- response = None >- if self.debug is not Constants.off: >- print "Getting kernel information file %s " % fileURL >- sys.stdout.flush() >- try: >- request = urllib2.Request(fileURL) >- opener = urllib2.build_opener() >- response = opener.open(request).read() >- if response: >- # save it locally >- file = open(kernelInfoFile, "w") >- file.write(response) >- file.close() >- if self.debug is not Constants.off: >- print "saved kernel info to " + kernelInfoFile >- else: >- print "Warning: Could not download kernel info file - kernel information may be out-of-date." >- except Exception, e: >- response = None >- if self.debug != Constants.off: >- print "Warning: could not download kernel information file:" >- print e >- >- # if it couldn't be downloaded, use the one in /var/share/hwcert/lib >+ # use the existiong kernel info file in /var/share/hwcert/lib from hwcert-client-info package > if not os.path.exists(kernelInfoFile): > kernelInfoFile = os.path.join(self.environment.getLibraryDirectory(), kernelInfoFile) >- > > try: > if self.debug is not Constants.off: >-- >1.8.3.1 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Flags:
gnichols
: review-
Actions:
View
|
Diff
Attachments on
bug 1031840
:
838876
|
839068