rel-eng/packages/spacewalk-utils | 2 +-
utils/spacewalk-manage-channel-lifecycle | 3 ++-
utils/spacewalk-utils.spec | 5 ++++-
3 files changed, 7 insertions(+), 3 deletions(-)
New commits:
commit 60844c4a1034a1984d33d4523dfe801c450199a7
Author: Tomas Lestach <tlestach(a)redhat.com>
Date: Wed May 22 10:48:46 2013 +0200
Automatic commit of package [spacewalk-utils] release [1.10.10-1].
diff --git a/rel-eng/packages/spacewalk-utils b/rel-eng/packages/spacewalk-utils
index d01a211..de202da 100644
--- a/rel-eng/packages/spacewalk-utils
+++ b/rel-eng/packages/spacewalk-utils
@@ -1 +1 @@
-1.10.9-1 utils/
+1.10.10-1 utils/
diff --git a/utils/spacewalk-utils.spec b/utils/spacewalk-utils.spec
index 31a1ad8..adbd382 100644
--- a/utils/spacewalk-utils.spec
+++ b/utils/spacewalk-utils.spec
@@ -1,7 +1,7 @@
%define rhnroot %{_prefix}/share/rhn
Name: spacewalk-utils
-Version: 1.10.9
+Version: 1.10.10
Release: 1%{?dist}
Summary: Utilities that may be run against a Spacewalk server.
@@ -88,6 +88,9 @@ spacewalk-pylint $RPM_BUILD_ROOT%{rhnroot}
%changelog
+* Wed May 22 2013 Tomas Lestach <tlestach(a)redhat.com> 1.10.10-1
+- check to see if the key exists before initializing parent channel key
+
* Tue May 21 2013 Michael Mraka <michael.mraka(a)redhat.com> 1.10.9-1
- fixed promote phase naming errors
commit 06ce32d0b4b348adef82a9223209f5343c8d8712
Author: Matt Micene <matt.micene(a)dlt.com>
Date: Wed May 22 10:46:54 2013 +0200
check to see if the key exists before initializing parent channel key
diff --git a/utils/spacewalk-manage-channel-lifecycle
b/utils/spacewalk-manage-channel-lifecycle
index 49737a3..84763a1 100755
--- a/utils/spacewalk-manage-channel-lifecycle
+++ b/utils/spacewalk-manage-channel-lifecycle
@@ -54,7 +54,8 @@ def print_channel_tree():
tree[channel.get('parent_label')].append(channel.get('label'))
else:
- tree[channel.get('label')] = []
+ if not tree.has_key(channel.get('label')):
+ tree[channel.get('label')] = []
# print the channels in a tree format
for parent in sorted(tree.keys()):
Show replies by date