comparison MoinMoin/formatter/__init__.py @ 3295:d0ff6a5b6d34

fix another pep8 failure
author Johannes Berg <johannes AT sipsolutions DOT net>
date Tue, 18 Mar 2008 12:06:47 +0100
parents e342c92094f4
children 5c0b94be4909
comparison
equal deleted inserted replaced
3294:e342c92094f4 3295:d0ff6a5b6d34
49 re object. raises re.error for invalid re. 49 re object. raises re.error for invalid re.
50 """ 50 """
51 if isinstance(hi_re, (str, unicode)): 51 if isinstance(hi_re, (str, unicode)):
52 hi_re = re.compile(hi_re, re.U + re.IGNORECASE) 52 hi_re = re.compile(hi_re, re.U + re.IGNORECASE)
53 self._highlight_re = hi_re 53 self._highlight_re = hi_re
54 54
55 def lang(self, on, lang_name): 55 def lang(self, on, lang_name):
56 return "" 56 return ""
57 57
58 def setPage(self, page): 58 def setPage(self, page):
59 self.page = page 59 self.page = page