# HG changeset patch # User Gregory Szorc # Date 1490842787 25200 # Node ID b3640334a43a4eb27311aa634917e1f1fabd469d # Parent 472d726c1afdfa0c47694305de2a41e7a97e3b55 minirst: reindent _admonitiontitles I don't like the verical indent. While I was here, I cleaned up some whitespace and added a trailing comma on the last element. diff -r 472d726c1afd -r b3640334a43a mercurial/minirst.py --- a/mercurial/minirst.py Tue Mar 28 06:23:28 2017 +0200 +++ b/mercurial/minirst.py Wed Mar 29 19:59:47 2017 -0700 @@ -452,15 +452,17 @@ i = i + 1 return blocks -_admonitiontitles = {'attention': _('Attention:'), - 'caution': _('Caution:'), - 'danger': _('!Danger!') , - 'error': _('Error:'), - 'hint': _('Hint:'), - 'important': _('Important:'), - 'note': _('Note:'), - 'tip': _('Tip:'), - 'warning': _('Warning!')} +_admonitiontitles = { + 'attention': _('Attention:'), + 'caution': _('Caution:'), + 'danger': _('!Danger!'), + 'error': _('Error:'), + 'hint': _('Hint:'), + 'important': _('Important:'), + 'note': _('Note:'), + 'tip': _('Tip:'), + 'warning': _('Warning!'), +} def formatoption(block, width): desc = ' '.join(map(str.strip, block['lines']))