diff mercurial/minirst.py @ 20549:2025315cfb0c

comments: fix minor spelling issues found with spell checker
author Mads Kiilerich <madski@unity3d.com>
date Thu, 20 Feb 2014 02:39:01 +0100
parents 0f6e360b14f2
children af9d9b778550
line wrap: on
line diff
--- a/mercurial/minirst.py	Sat Feb 15 01:23:12 2014 +0100
+++ b/mercurial/minirst.py	Thu Feb 20 02:39:01 2014 +0100
@@ -109,7 +109,7 @@
             elif len(blocks[i]['lines']) == 1 and \
                  blocks[i]['lines'][0].lstrip(' ').startswith('.. ') and \
                  blocks[i]['lines'][0].find(' ', 3) == -1:
-                # directive on its onw line, not a literal block
+                # directive on its own line, not a literal block
                 i += 1
                 continue
             else:
@@ -382,7 +382,7 @@
             blocks[i]['type'] in ('bullet', 'option', 'field')):
             i += 1
         elif not blocks[i - 1]['lines']:
-            # no lines in previous block, do not seperate
+            # no lines in previous block, do not separate
             i += 1
         else:
             blocks.insert(i, dict(lines=[''], indent=0, type='margin'))