utils/spacewalk-clone-by-date | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
New commits:
commit ae72e3433fab82459b98cb09290545a765abd3a3
Author: Stephen Herr <sherr(a)redhat.com>
Date: Thu Dec 20 15:16:23 2012 -0500
889317 - fix short-sighted problem in previous patch
diff --git a/utils/spacewalk-clone-by-date b/utils/spacewalk-clone-by-date
index 41716d7..535a010 100755
--- a/utils/spacewalk-clone-by-date
+++ b/utils/spacewalk-clone-by-date
@@ -166,9 +166,9 @@ def parse_args():
raise UserError("No channels specified. See --help for details.")
else:
for channel_group in options.channels:
- existing = channel_group.keys()[0]
- if existing.startswith('-') or
channel_group[existing].startswith('-'):
- raise UserError("The -l / --channels option requires two
arguments")
+ for existing in channel_group.keys():
+ if existing.startswith('-') or
channel_group[existing].startswith('-'):
+ raise UserError("The -l / --channels option requires two
arguments")
if not options.validate:
Show replies by date