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()) diff --git a/python-urllib2_kerberos.spec b/python-urllib2_kerberos.spec index b4d4c26..43d64d5 100644 --- a/python-urllib2_kerberos.spec +++ b/python-urllib2_kerberos.spec @@ -2,7 +2,7 @@ Name: python-%{srcname} Version: 0.1.6 -Release: 13%{?dist} +Release: 14%{?dist} Summary: Kerberos over HTTP Negotiate/SPNEGO support for urllib2 Group: Development/Languages @@ -58,7 +58,11 @@ touch -r $lib $lib.new && mv $lib.new $lib %{python_sitelib}/* # TODO this should be fix for #1065576, #578711, and #1115513 + %changelog +* Wed Oct 08 2014 Steve Traylen - 0.1.6-14 +- Remove debug from add-logging.patch. #1065576 + * Thu Jul 03 2014 Matěj Cepl - 0.1.6-13 - Fix logging format for Python 2.6 (#1065576)