diff options
author | Ville Skyttä <ville.skytta@iki.fi> | 2017-05-11 12:48:13 +0300 |
---|---|---|
committer | Ville Skyttä <ville.skytta@iki.fi> | 2017-05-11 12:48:13 +0300 |
commit | 317d300f6fe7e9fd56f7a84d29349f852f6d3e17 (patch) | |
tree | bb6c46872a1c2cb98f1d579e24cf10b6ad6590d4 /mako | |
parent | 84d21ded4c270deebad88a61ef78356fa6e075ba (diff) | |
download | mako-317d300f6fe7e9fd56f7a84d29349f852f6d3e17.tar.gz |
Spelling fixes
Diffstat (limited to 'mako')
-rw-r--r-- | mako/_ast_util.py | 2 | ||||
-rw-r--r-- | mako/ext/extract.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/mako/_ast_util.py b/mako/_ast_util.py index 8d19b0d..c410287 100644 --- a/mako/_ast_util.py +++ b/mako/_ast_util.py @@ -187,7 +187,7 @@ def iter_fields(node): def get_fields(node): - """Like `iter_fiels` but returns a dict.""" + """Like `iter_fields` but returns a dict.""" return dict(iter_fields(node)) diff --git a/mako/ext/extract.py b/mako/ext/extract.py index 8dd2e96..d777ea8 100644 --- a/mako/ext/extract.py +++ b/mako/ext/extract.py @@ -68,7 +68,7 @@ class MessageExtractor(object): else: continue - # Comments don't apply unless they immediately preceed the message + # Comments don't apply unless they immediately precede the message if translator_comments and \ translator_comments[-1][0] < node.lineno - 1: translator_comments = [] |