client/tools/rhncfg/config_common/rpc_wrapper.py | 1 +
client/tools/rhncfg/rhncfg.spec | 5 ++++-
rel-eng/packages/rhncfg | 2 +-
3 files changed, 6 insertions(+), 2 deletions(-)
New commits:
commit 9bf58348cd20c6d854783d22ea217ea0cb0de902
Author: Miroslav Suchý <msuchy(a)redhat.com>
Date: Thu Sep 29 14:07:58 2011 +0200
Automatic commit of package [rhncfg] release [5.10.16-1].
diff --git a/client/tools/rhncfg/rhncfg.spec b/client/tools/rhncfg/rhncfg.spec
index 1241521..57a3e3e 100644
--- a/client/tools/rhncfg/rhncfg.spec
+++ b/client/tools/rhncfg/rhncfg.spec
@@ -8,7 +8,7 @@ Group: Applications/System
License: GPLv2 and Python
URL:
https://fedorahosted.org/spacewalk
Source0:
https://fedorahosted.org/releases/s/p/spacewalk/%{name}-%{version}.tar.gz
-Version: 5.10.15
+Version: 5.10.16
Release: 1%{?dist}
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
@@ -106,6 +106,9 @@ rm -rf $RPM_BUILD_ROOT
# $Id$
%changelog
+* Thu Sep 29 2011 Miroslav Suchý 5.10.16-1
+- add save_traceback even into this branch
+
* Fri Sep 23 2011 Martin Minar <mminar(a)redhat.com> 5.10.15-1
- Fix `rhncfg-client verify' traceback for missing symlinks
(Joshua.Roys(a)gtri.gatech.edu)
diff --git a/rel-eng/packages/rhncfg b/rel-eng/packages/rhncfg
index f7a172f..9faf072 100644
--- a/rel-eng/packages/rhncfg
+++ b/rel-eng/packages/rhncfg
@@ -1 +1 @@
-5.10.15-1 client/tools/rhncfg/
+5.10.16-1 client/tools/rhncfg/
commit 3c1ef0f4bccc9e04d2ef3a8bcceba7e33ba46ddc
Author: Miroslav Suchý <msuchy(a)redhat.com>
Date: Thu Sep 29 13:39:40 2011 +0200
add save_traceback even into this branch
addressing:
Traceback (most recent call last):
File "/usr/bin/rhncfg-client", line 34, in ?
sys.exit(Main().main() or 0)
File "/usr/share/rhn/config_common/rhn_main.py", line 170, in main
repo = getattr(repo_module, self.repository_class_name)()
File "/usr/share/rhn/config_client/rpc_cli_repository.py", line 32, in
__init__
repository.RPC_Repository.__init__(self, setup_network)
File "/usr/share/rhn/config_common/repository.py", line 301, in __init__
x_server.registration.welcome_message()
File "/usr/lib/python2.4/xmlrpclib.py", line 1096, in __call__
return self.__send(self.__name, args)
File "/usr/share/rhn/config_common/rpc_wrapper.py", line 221, in _request
return self._call_function(rpclib.Server._request, (self, methodname, params))
File "/usr/share/rhn/config_common/rpc_wrapper.py", line 175, in
_call_function
raise e, None, save_traceback
UnboundLocalError: local variable 'save_traceback' referenced before
assignment
This has been ommited in commit 86ec92b1c0221a9bb51e0f032f1800b349972036
diff --git a/client/tools/rhncfg/config_common/rpc_wrapper.py
b/client/tools/rhncfg/config_common/rpc_wrapper.py
index 685d6a5..b6ede49 100644
--- a/client/tools/rhncfg/config_common/rpc_wrapper.py
+++ b/client/tools/rhncfg/config_common/rpc_wrapper.py
@@ -169,6 +169,7 @@ class Server(rpclib.Server):
raise e, None, save_traceback #Don't raise the NoMoreServers
error, raise the error that triggered the failover.
continue
except (error, sslerror, herror, gaierror, timeout), e:
+ save_traceback = sys.exc_info()[2]
try:
self._failover()
except NoMoreServers, f: