client/rhel/rhn-client-tools/rhn-client-tools.spec | 5 ++++-
client/rhel/rhn-client-tools/src/up2date_client/up2dateErrors.py | 4 +++-
rel-eng/packages/rhn-client-tools | 2 +-
3 files changed, 8 insertions(+), 3 deletions(-)
New commits:
commit 5011b826bc87933cecbbb9fb6235282ab121f593
Author: Miroslav Suchý <msuchy(a)redhat.com>
Date: Fri Jan 27 16:16:37 2012 +0100
Automatic commit of package [rhn-client-tools] release [1.7.8-1].
diff --git a/client/rhel/rhn-client-tools/rhn-client-tools.spec
b/client/rhel/rhn-client-tools/rhn-client-tools.spec
index 31578eb..5c78c2e 100644
--- a/client/rhel/rhn-client-tools/rhn-client-tools.spec
+++ b/client/rhel/rhn-client-tools/rhn-client-tools.spec
@@ -4,7 +4,7 @@ Group: System Environment/Base
Source0:
https://fedorahosted.org/releases/s/p/spacewalk/%{name}-%{version}.tar.gz
URL:
https://fedorahosted.org/spacewalk
Name: rhn-client-tools
-Version: 1.7.7
+Version: 1.7.8
Release: 1%{?dist}
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
@@ -334,6 +334,9 @@ make -f Makefile.rhn-client-tools test
%endif
%changelog
+* Fri Jan 27 2012 Miroslav Suchý 1.7.8-1
+- 729342 - fix another TB with errmsg instance
+
* Wed Jan 18 2012 Miroslav Suchý 1.7.7-1
- 781421 - newt can not accept unicode
- 781421 - sys.stderr.write could not handle decoded unicode
diff --git a/rel-eng/packages/rhn-client-tools b/rel-eng/packages/rhn-client-tools
index 7055c11..e04e501 100644
--- a/rel-eng/packages/rhn-client-tools
+++ b/rel-eng/packages/rhn-client-tools
@@ -1 +1 @@
-1.7.7-1 client/rhel/rhn-client-tools/
+1.7.8-1 client/rhel/rhn-client-tools/
commit 9b28ded9de35b00d05457c877b8e8bb9d68a37de
Author: Miroslav Suchý <msuchy(a)redhat.com>
Date: Fri Jan 27 16:15:48 2012 +0100
729342 - fix another TB with errmsg instance
diff --git a/client/rhel/rhn-client-tools/src/up2date_client/up2dateErrors.py
b/client/rhel/rhn-client-tools/src/up2date_client/up2dateErrors.py
index 2a3f054..2ec4759 100644
--- a/client/rhel/rhn-client-tools/src/up2date_client/up2dateErrors.py
+++ b/client/rhel/rhn-client-tools/src/up2date_client/up2dateErrors.py
@@ -185,7 +185,7 @@ class NetworkError(Error):
""" some generic network error occured, e.g. connection reset by peer
"""
premsg = _("Network error: ")
-class SSLCertificateVerifyFailedError(RepoError):
+class SSLCertificateVerifyFailedError(RepoError, Error):
def __init__(self):
# Need to override __init__ because the base class requires a message arg
# and this exception shouldn't.
@@ -201,6 +201,8 @@ class SSLCertificateVerifyFailedError(RepoError):
else:
RepoError.__init__(self, "The SSL certificate failed
verification.")
+ __getattr__ = Error.__getattr__
+
class SSLCertificateFileNotFound(Error):
pass