rel-eng/packages/spacecmd | 2 +-
spacecmd/spacecmd.spec | 5 ++++-
spacecmd/src/lib/system.py | 2 +-
3 files changed, 6 insertions(+), 3 deletions(-)
New commits:
commit d92b65d19ca16d30b3cfcb884fedd20b0bac9ebe
Author: Milan Zazrivec <mzazrivec(a)redhat.com>
Date: Fri Dec 13 16:02:19 2013 +0100
Automatic commit of package [spacecmd] release [2.1.19-1].
diff --git a/rel-eng/packages/spacecmd b/rel-eng/packages/spacecmd
index 85e5616..b26103f 100644
--- a/rel-eng/packages/spacecmd
+++ b/rel-eng/packages/spacecmd
@@ -1 +1 @@
-2.1.18-1 spacecmd/
+2.1.19-1 spacecmd/
diff --git a/spacecmd/spacecmd.spec b/spacecmd/spacecmd.spec
index 2cf3bf4..228f54d 100644
--- a/spacecmd/spacecmd.spec
+++ b/spacecmd/spacecmd.spec
@@ -4,7 +4,7 @@
%endif
Name: spacecmd
-Version: 2.1.18
+Version: 2.1.19
Release: 1%{?dist}
Summary: Command-line interface to Spacewalk and Satellite servers
@@ -64,6 +64,9 @@ touch %{buildroot}/%{python_sitelib}/spacecmd/__init__.py
%doc %{_mandir}/man1/spacecmd.1.gz
%changelog
+* Fri Dec 13 2013 Milan Zazrivec <mzazrivec(a)redhat.com> 2.1.19-1
+- 960984 - fix system listing when identified by system id
+
* Thu Dec 05 2013 Aron Parsons <aronparsons(a)gmail.com> 2.1.18-1
- spacecmd: print repos in softwarechannel_getdetails
- spacecmd: add softwarechannel_listrepos
commit 65efaf38345ccb2dd51b122fb1653c071973eccf
Author: Milan Zazrivec <mzazrivec(a)redhat.com>
Date: Fri Dec 13 16:00:49 2013 +0100
960984 - fix system listing when identified by system id
This is to fix the following error:
Traceback (most recent call last):
File "/usr/bin/spacecmd", line 127, in ?
shell.onecmd(shell.precmd(' '.join(args)))
File "/usr/lib64/python2.4/cmd.py", line 219, in onecmd
return func(arg)
File "/usr/lib/python2.4/site-packages/spacecmd/system.py", line 1804,
in do_system_addchildchannels
self.manipulate_child_channels(args)
File "/usr/lib/python2.4/site-packages/spacecmd/system.py", line 96,
in manipulate_child_channels
print '\n'.join(sorted(systems))
TypeError: sequence item 0: expected string, int found
diff --git a/spacecmd/src/lib/system.py b/spacecmd/src/lib/system.py
index 820681b..fd04f27 100644
--- a/spacecmd/src/lib/system.py
+++ b/spacecmd/src/lib/system.py
@@ -94,7 +94,7 @@ def manipulate_child_channels(self, args, remove=False):
print 'Systems'
print '-------'
- print '\n'.join(sorted(systems))
+ print '\n'.join(sorted([str(x) for x in systems]))
print
if remove:
Show replies by date