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.
--- 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']))