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 938499 Details for
Bug 1065576
Add additional patches to urllib2_kerberos
[?]
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] Set default logging to INFO, not DEBUG, and fix python .format() code for Python 2.6 compatiblity
python-urllib2_kerberos_el6_compat.patch (text/plain), 1.16 KB, created by
Richard Monk
on 2014-09-17 14:30:35 UTC
(
hide
)
Description:
[PATCH] Set default logging to INFO, not DEBUG, and fix python .format() code for Python 2.6 compatiblity
Filename:
MIME Type:
Creator:
Richard Monk
Created:
2014-09-17 14:30:35 UTC
Size:
1.16 KB
patch
obsolete
>From 5fbcff39667b6e938d8487a994d2df65d9d7ec6c Mon Sep 17 00:00:00 2001 >From: Richard Monk <rmonk@redhat.com> >Date: Wed, 17 Sep 2014 10:23:20 -0400 >Subject: [PATCH] Set default logging to INFO, not DEBUG, and fix python > .format() code for Python 2.6 compatiblity > >--- > add-logging.patch | 6 +++--- > 1 file changed, 3 insertions(+), 3 deletions(-) > >diff --git a/add-logging.patch b/add-logging.patch >index a951487..fc69418 100644 >--- a/add-logging.patch >+++ b/add-logging.patch >@@ -14,7 +14,7 @@ > + return log > + > +log = getLogger() >-+log.setLevel(logging.DEBUG) >++log.setLevel(logging.INFO) > > class AbstractKerberosAuthHandler: > """auth handler for urllib2 that does Kerberos HTTP Negotiate Authentication >@@ -22,8 +22,8 @@ > > req.add_unredirected_header(self.authz_header, neg_hdr) > resp = self.parent.open(req) >-+ log.debug('resp = {}'.format(resp)) >-+ log.debug('resp = type {}'.format(type(resp))) >++ log.debug('resp = {0}'.format(resp)) >++ log.debug('resp = type {0}'.format(type(resp))) > > if resp.getcode() != 200: > self.authenticate_server(resp.info()) >-- >1.9.3 >
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 Raw
Actions:
View
Attachments on
bug 1065576
:
863543
| 938499