mirror of
https://github.com/openSUSE/osc.git
synced 2025-02-25 11:42:12 +01:00
[python3] decode tmpfile content on edit_message
This commit is contained in:
parent
749f994465
commit
406918469d
@ -7479,7 +7479,7 @@ def request_interactive_review(apiurl, request, initial_cmd='', group=None,
|
|||||||
elif repl == 'm':
|
elif repl == 'm':
|
||||||
if tmpfile is not None:
|
if tmpfile is not None:
|
||||||
tmpfile.seek(0)
|
tmpfile.seek(0)
|
||||||
comment = edit_message(footer=tmpfile.read())
|
comment = edit_message(footer=decode_it(tmpfile.read()))
|
||||||
else:
|
else:
|
||||||
comment = edit_text()
|
comment = edit_text()
|
||||||
create_comment(apiurl, 'request', comment, request.reqid)
|
create_comment(apiurl, 'request', comment, request.reqid)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user