mirror of
https://github.com/openSUSE/osc.git
synced 2024-11-10 06:46:15 +01:00
- core.edit_message: use a more informative messsage if the default template wasn't changed
This commit is contained in:
parent
6d7de62755
commit
ec595d361b
@ -3486,7 +3486,7 @@ def edit_message(footer='', template='', templatelen=30):
|
||||
else:
|
||||
reason = 'Log message not specified'
|
||||
if template and template == msg:
|
||||
reason = 'Log template was not changed'
|
||||
reason = 'Default log message was not changed. Press \'c\' to continue.'
|
||||
ri = raw_input('%s\na)bort, c)ontinue, e)dit: ' % reason)
|
||||
if ri in 'aA':
|
||||
raise oscerr.UserAbort()
|
||||
|
Loading…
Reference in New Issue
Block a user