proxy/proxy/apacheHandler.py | 2 +-
proxy/proxy/apacheServer.py | 2 +-
proxy/proxy/rhnProxyAuth.py | 1 +
proxy/proxy/spacewalk-proxy.spec | 6 +++++-
rel-eng/packages/spacewalk-proxy | 2 +-
5 files changed, 9 insertions(+), 4 deletions(-)
New commits:
commit bf16be2096b93746ce2392c1151b47391a3599dc
Author: Miroslav Suchý <msuchy(a)redhat.com>
Date: Wed Apr 18 14:23:02 2012 +0200
Automatic commit of package [spacewalk-proxy] release [1.8.2-1].
diff --git a/proxy/proxy/spacewalk-proxy.spec b/proxy/proxy/spacewalk-proxy.spec
index da0dd63..e03fc8b 100644
--- a/proxy/proxy/spacewalk-proxy.spec
+++ b/proxy/proxy/spacewalk-proxy.spec
@@ -4,7 +4,7 @@ Group: Applications/Internet
License: GPLv2
URL:
https://fedorahosted.org/spacewalk
Source0:
https://fedorahosted.org/releases/s/p/spacewalk/%{name}-%{version}.tar.gz
-Version: 1.8.1
+Version: 1.8.2
Release: 1%{?dist}
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: python
@@ -334,6 +334,10 @@ fi
%changelog
+* Wed Apr 18 2012 Miroslav Suchý <msuchy(a)redhat.com> 1.8.2-1
+- move pylint directive up
+- ignore false pylint warning
+
* Tue Apr 17 2012 Jan Pazdziora 1.8.1-1
- 811990 - refresh proxy auth cache for hostname changes (shughes(a)redhat.com)
diff --git a/rel-eng/packages/spacewalk-proxy b/rel-eng/packages/spacewalk-proxy
index e6ccc5d..baeacd5 100644
--- a/rel-eng/packages/spacewalk-proxy
+++ b/rel-eng/packages/spacewalk-proxy
@@ -1 +1 @@
-1.8.1-1 proxy/proxy/
+1.8.2-1 proxy/proxy/
commit af9d59b9fcf8d25262e34e700c3fa07f7e778a07
Author: Miroslav Suchý <msuchy(a)redhat.com>
Date: Wed Apr 18 14:16:31 2012 +0200
move pylint directive up
diff --git a/proxy/proxy/apacheHandler.py b/proxy/proxy/apacheHandler.py
index 257284a..3a91d71 100644
--- a/proxy/proxy/apacheHandler.py
+++ b/proxy/proxy/apacheHandler.py
@@ -62,8 +62,8 @@ def getComponentType(req):
try:
log_debug(4, "last_visited", last_visited, "; proxy server
id",
proxy_server_id)
+ # pylint: disable=W0702
except:
- # pylint: disable=W0702
# incase called prior to the log files being initialized
pass
if last_visited == proxy_server_id:
diff --git a/proxy/proxy/apacheServer.py b/proxy/proxy/apacheServer.py
index e43be73..ec6f37c 100644
--- a/proxy/proxy/apacheServer.py
+++ b/proxy/proxy/apacheServer.py
@@ -63,8 +63,8 @@ class HandlerWrap:
ret = f(req)
else:
raise Exception("Class has no attribute %s" % self.__name)
+ # pylint: disable=W0702
except:
- # pylint: disable=W0702
Traceback(self.__name, req, extra = "Unhandled exception type",
severity="unhandled")
return apache.HTTP_INTERNAL_SERVER_ERROR
commit e03e6aae2f887d0c886647fb639418b3a7ec9e28
Author: Miroslav Suchý <msuchy(a)redhat.com>
Date: Wed Apr 18 13:56:38 2012 +0200
ignore false pylint warning
from hashlib import sha1
produce warning because dir(hashlib) returns nothing, but that function really exists
diff --git a/proxy/proxy/rhnProxyAuth.py b/proxy/proxy/rhnProxyAuth.py
index b26370b..3a2c3ce 100644
--- a/proxy/proxy/rhnProxyAuth.py
+++ b/proxy/proxy/rhnProxyAuth.py
@@ -22,6 +22,7 @@ import time
import socket
import xmlrpclib
import sys
+# pylint: disable=E0611
from hashlib import sha1
## local imports