proxy/proxy/broker/rhnBroker.py | 4 ++--
proxy/proxy/spacewalk-proxy.spec | 5 ++++-
rel-eng/packages/spacewalk-proxy | 2 +-
3 files changed, 7 insertions(+), 4 deletions(-)
New commits:
commit 06c772ad60ecf3333cd5703097e77c4d9143fc40
Author: Stephen Herr <sherr(a)redhat.com>
Date: Fri Aug 23 15:53:06 2013 -0400
Automatic commit of package [spacewalk-proxy] release [2.1.4-1].
diff --git a/proxy/proxy/spacewalk-proxy.spec b/proxy/proxy/spacewalk-proxy.spec
index e4429cd..66884e4 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: 2.1.3
+Version: 2.1.4
Release: 1%{?dist}
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: python
@@ -330,6 +330,9 @@ fi
%changelog
+* Fri Aug 23 2013 Stephen Herr <sherr(a)redhat.com> 2.1.4-1
+- 1000586 - fix checkstyle errors
+
* Fri Aug 23 2013 Stephen Herr <sherr(a)redhat.com> 2.1.3-1
- 1000586 - /etc/hosts doesn't work with proxies
diff --git a/rel-eng/packages/spacewalk-proxy b/rel-eng/packages/spacewalk-proxy
index 7f8b17b..d95690e 100644
--- a/rel-eng/packages/spacewalk-proxy
+++ b/rel-eng/packages/spacewalk-proxy
@@ -1 +1 @@
-2.1.3-1 proxy/proxy/
+2.1.4-1 proxy/proxy/
commit 683e4debba61b41caadd54cd78d7164b65984f8c
Author: Stephen Herr <sherr(a)redhat.com>
Date: Fri Aug 23 15:52:58 2013 -0400
1000586 - fix checkstyle errors
diff --git a/proxy/proxy/broker/rhnBroker.py b/proxy/proxy/broker/rhnBroker.py
index 38ba721..507ec8e 100644
--- a/proxy/proxy/broker/rhnBroker.py
+++ b/proxy/proxy/broker/rhnBroker.py
@@ -76,7 +76,7 @@ class BrokerHandler(SharedHandler):
# entry on the client or the hostname of some other
# machine (say a load balancer)) then use it
hostname = req.headers_in['Host']
- except:
+ except Exception:
# hostname probably didn't exist, fine
pass
if not hostname:
@@ -84,7 +84,7 @@ class BrokerHandler(SharedHandler):
# ip address
try:
hostname = socket.gethostbyaddr(my_ip_addr)[0]
- except:
+ except Exception:
# unknown host, we don't have a hostname?
pass
if not hostname: