encode changelog entries as utf-8 before printing
This commit is contained in:
parent
810628c939
commit
c1ee00058f
1 changed files with 2 additions and 2 deletions
4
cli/koji
4
cli/koji
|
|
@ -1836,8 +1836,8 @@ def anon_handle_buildinfo(options, session, args):
|
|||
if options.changelog:
|
||||
print "Changelog:"
|
||||
for entry in session.getChangelogEntries(info['id']):
|
||||
print "* %s %s" % (time.strftime('%a %b %d %Y', time.strptime(entry['date'], '%Y-%m-%d %H:%M:%S')), entry['author'])
|
||||
print entry['text']
|
||||
print ("* %s %s" % (time.strftime('%a %b %d %Y', time.strptime(entry['date'], '%Y-%m-%d %H:%M:%S')), entry['author'])).encode('utf-8')
|
||||
print entry['text'].encode('utf-8')
|
||||
|
||||
def handle_add_target(options, session, args):
|
||||
"[admin] Create a new build target"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue