utils/spacewalk-common-channels | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
New commits:
commit 4cbc9e9b4e0af2f6e75aa8bb22c3c86b0d9d2983
Author: Michael Mraka <michael.mraka(a)redhat.com>
Date: Mon Feb 15 23:56:20 2010 +0100
sort child channels
diff --git a/utils/spacewalk-common-channels b/utils/spacewalk-common-channels
index 131e6c2..e6cd8ca 100755
--- a/utils/spacewalk-common-channels
+++ b/utils/spacewalk-common-channels
@@ -249,7 +249,7 @@ Create everything as well as unlimited activation key for every
channel:
base_channel_label, e.faultString))
continue
- for child_channel_label in child_channels[base_channel_label]:
+ for child_channel_label in sorted(child_channels[base_channel_label]):
child_info = channels[child_channel_label]
if options.verbose:
sys.stdout.write("* Child channel '%s' - creating...\n"
% child_info['name'])
commit 5ca3f40dd315a5150098c48f3cc9c04449826621
Author: Michael Mraka <michael.mraka(a)redhat.com>
Date: Mon Feb 15 23:55:11 2010 +0100
fixed list of archs
diff --git a/utils/spacewalk-common-channels b/utils/spacewalk-common-channels
index 295ef03..131e6c2 100755
--- a/utils/spacewalk-common-channels
+++ b/utils/spacewalk-common-channels
@@ -135,8 +135,8 @@ Create everything as well as unlimited activation key for every
channel:
channel_list = config.sections()
if channel_list:
for channel in sorted(channel_list):
- print " %-20s %s" % (channel + ":",
- "i386, x86_64") # FIXME: list of archs
+ channel_archs = config.get(channel, 'archs')
+ print " %-20s %s" % (channel + ":", channel_archs)
else:
print " [no channel available]"
sys.exit(0)
Show replies by date