1
0
mirror of https://github.com/openSUSE/osc.git synced 2024-12-25 17:36:13 +01:00
Basically, this was broken since commit bb75ce34fd.
This commit is contained in:
Marcus Huewe 2014-12-08 22:19:28 +01:00
parent 42d3e815c1
commit e1e2dd8676

View File

@ -3838,7 +3838,7 @@ def edit_message(footer='', template='', templatelen=30):
if lines[templatelen:]:
footer = '%s\n\n%s' % ('\n'.join(lines[templatelen:]), footer)
data += '\n' + delim + '\n' + footer
edit_text(data, delim, suffix='.diff', template=template)
return edit_text(data, delim, suffix='.diff', template=template)
def edit_text(data='', delim=None, suffix='.txt', template=''):
import tempfile