Revision: 4271 Author: wikipedian Date: 2007-09-13 13:42:44 +0000 (Thu, 13 Sep 2007)
Log Message: ----------- bugfix
Modified Paths: -------------- trunk/pywikipedia/wikipedia.py
Modified: trunk/pywikipedia/wikipedia.py =================================================================== --- trunk/pywikipedia/wikipedia.py 2007-09-13 13:41:54 UTC (rev 4270) +++ trunk/pywikipedia/wikipedia.py 2007-09-13 13:42:44 UTC (rev 4271) @@ -2572,10 +2572,8 @@ marker - a string, it will be added to the last replacement, if nothing is changed, it is added at the end """ - # Hyperlink regex is defined in weblinkchecker.py. Only import - # when required. - if 'hyperlink' in exceptions: - import weblinkchecker + # Hyperlink regex is defined in weblinkchecker.py + import weblinkchecker
exceptionRegexes = { 'comment': re.compile(r'(?s)<!--.*?-->'),