client/rhel/rhn-client-tools/rhn-client-tools.spec | 4 ++-- client/rhel/rhn-client-tools/src/up2date_client/rpmUtils.py | 4 ++-- rel-eng/packages/rhn-client-tools | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-)
New commits: commit fd7120c8826b23bba82e07a8de1e8e57c22bd9c2 Author: Miroslav Suchý msuchy@redhat.com Date: Fri Oct 23 11:41:35 2009 +0200
Automatic commit of package [rhn-client-tools] release [0.7.7-1].
diff --git a/client/rhel/rhn-client-tools/rhn-client-tools.spec b/client/rhel/rhn-client-tools/rhn-client-tools.spec index f5d1df6..008993d 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/%%7Bname%7D-%%7Bversion%7D.t... URL: https://fedorahosted.org/spacewalk Name: rhn-client-tools -Version: 0.7.6 +Version: 0.7.7 Release: 1%{?dist} BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch @@ -215,7 +215,7 @@ rm -rf $RPM_BUILD_ROOT %{_datadir}/applications/rhn_register.desktop
%changelog -* Fri Oct 23 2009 Miroslav Suchy msuchy@redhat.com 0.7.6-1 +* Fri Oct 23 2009 Miroslav Suchy msuchy@redhat.com 0.7.7-1 - 530369 - header is inmutable
* Thu Oct 22 2009 Miroslav Suchy msuchy@redhat.com 0.7.5-1 diff --git a/rel-eng/packages/rhn-client-tools b/rel-eng/packages/rhn-client-tools index a5d7012..fb8d3ae 100644 --- a/rel-eng/packages/rhn-client-tools +++ b/rel-eng/packages/rhn-client-tools @@ -1 +1 @@ -0.7.6-1 client/rhel/rhn-client-tools/ +0.7.7-1 client/rhel/rhn-client-tools/
commit 7c61e972652dac63b404ed08712b90e70ef6d3ad Author: Miroslav Suchý msuchy@redhat.com Date: Fri Oct 23 11:35:46 2009 +0200
530369 - we could not modify dictionary during loop
addressing: Traceback (most recent call last): File "/usr/sbin/rhn_check", line 276, in __run_action (status, message, data) = CheckCli.__do_call(method, params) File "/usr/sbin/rhn_check", line 269, in __do_call retval = method(*params) File "/usr/share/rhn/actions/packages.py", line 460, in verify ret, missing_packages = rpmUtils.verifyPackages(packages) File "/usr/share/rhn/up2date_client/rpmUtils.py", line 62, in verifyPackages for key, value in keywords.iteritems(): exceptions.RuntimeError: dictionary changed size during iteration
diff --git a/client/rhel/rhn-client-tools/src/up2date_client/rpmUtils.py b/client/rhel/rhn-client-tools/src/up2date_client/rpmUtils.py index c4fc1a8..79de878 100644 --- a/client/rhel/rhn-client-tools/src/up2date_client/rpmUtils.py +++ b/client/rhel/rhn-client-tools/src/up2date_client/rpmUtils.py @@ -59,8 +59,8 @@ def verifyPackages(packages): # we left our epoch 'arch': package[4] } - for key, value in keywords.iteritems(): - if (value == None) or (value == ""): + for key in (keywords.keys()): + if (keywords[key] == None) or (keywords[key] == ""): del(keywords[key])
headers = installedHeaderByKeyword(**keywords)
spacewalk-commits@lists.fedorahosted.org