mercurial/minirst.py
changeset 15122 efa213b14ec0
parent 15121 0ad0ebe67815
child 15123 9b41ccb2043e
--- a/mercurial/minirst.py	Sat Sep 17 13:37:49 2011 -0500
+++ b/mercurial/minirst.py	Sat Sep 17 13:37:50 2011 -0500
@@ -22,7 +22,6 @@
 import util, encoding
 from i18n import _
 
-
 def replace(text, substs):
     for f, t in substs:
         text = text.replace(f, t)
@@ -44,7 +43,6 @@
         blocks.append(dict(indent=indent, lines=lines))
     return blocks
 
-
 def findliteralblocks(blocks):
     """Finds literal blocks and adds a 'type' field to the blocks.
 
@@ -145,7 +143,6 @@
         i += 1
     return blocks
 
-
 _fieldwidth = 12
 
 def updatefieldlists(blocks):
@@ -172,7 +169,6 @@
 
     return blocks
 
-
 def updateoptionlists(blocks):
     i = 0
     while i < len(blocks):
@@ -247,7 +243,6 @@
         i += 1
     return blocks, pruned
 
-
 _sectionre = re.compile(r"""^([-=`:.'"~^_*+#])\1+$""")
 
 def findtables(blocks):
@@ -312,7 +307,6 @@
             del block['lines'][1]
     return blocks
 
-
 def inlineliterals(blocks):
     substs = [('``', '"')]
     for b in blocks:
@@ -320,7 +314,6 @@
             b['lines'] = [replace(l, substs) for l in b['lines']]
     return blocks
 
-
 def hgrole(blocks):
     substs = [(':hg:`', '"hg '), ('`', '"')]
     for b in blocks:
@@ -332,7 +325,6 @@
             b['lines'] = [replace(l, substs) for l in b['lines']]
     return blocks
 
-
 def addmargins(blocks):
     """Adds empty blocks for vertical spacing.