Permalink
Browse files

Typo.

  • Loading branch information...
1 parent 8470c04 commit 9717ce65989a87ef1a03a59e3e35d27ec218ac5c @BertrandBordage committed Sep 12, 2012
Showing with 4 additions and 4 deletions.
  1. +4 −4 terms/html.py
View
@@ -68,10 +68,10 @@ def allow_replacements(self):
def replace_terms(self, html):
def translate(match):
replace_dict = self.replace_dict
- match_group = match.group
- before, name, after = match_group('before'), \
- match_group('name'), \
- match_group('after')
+ match__group = match.group
+ before, name, after = match__group('before'), \
+ match__group('name'), \
+ match__group('after')
replaced_name = replace_dict.get(name, name)
if TERMS_REPLACE_FIRST_ONLY and name in replace_dict:
for variant in self.variants_dict[name]:

0 comments on commit 9717ce6

Please sign in to comment.