mirror of
https://github.com/openSUSE/osc.git
synced 2024-11-10 06:46:15 +01:00
parent
42d3e815c1
commit
e1e2dd8676
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user