[Spacewalk-list] [patch] spacecmd fails on Base64 encoded data and UTF-8
David Juran
djuran at redhat.com
Tue Sep 24 15:27:23 UTC 2013
On mån, 2013-09-23 at 22:29 -0400, Aron Parsons wrote:
> Thanks David, committed as 1f0896775c6e9651a99e91b062c0629e84e84f48.
Uhm, yet another patch below, sorry for the omission...
> If possible, please use a git-formatted patch in the future so it
> has the author and message already in the patch.
I'm new to git and I can't email directly from the machine where I have
the repo, but is this any better?
-- >8 --
Subject: [PATCH] - Fix typo, the decoded output need to be printed...
---
spacecmd/src/lib/schedule.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/spacecmd/src/lib/schedule.py b/spacecmd/src/lib/schedule.py
index e05c528..c4fbcc3 100644
--- a/spacecmd/src/lib/schedule.py
+++ b/spacecmd/src/lib/schedule.py
@@ -318,7 +318,7 @@ def do_schedule_getoutput(self, args):
print 'Output'
print '------'
if r.get('output_enc64'):
- base64.b64decode(r.get('output'))
+ print base64.b64decode(r.get('output'))
else:
print r.get('output').encode('UTF8')
--
1.7.1
--
David Juran
Sr. Consultant
Red Hat
+46-725-345801
More information about the Spacewalk-list
mailing list