minirst: reindent _admonitiontitles
authorGregory Szorc <gregory.szorc@gmail.com>
Wed, 29 Mar 2017 19:59:47 -0700
changeset 31712 b3640334a43a
parent 31711 472d726c1afd
child 31713 32a563a01da4
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.
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']))