Revision: 8202 Author: russblau Date: 2010-05-24 21:24:49 +0000 (Mon, 24 May 2010)
Log Message: ----------- Fix bug in last commit (continue after stripping initial colon)
Modified Paths: -------------- branches/rewrite/pywikibot/page.py
Modified: branches/rewrite/pywikibot/page.py =================================================================== --- branches/rewrite/pywikibot/page.py 2010-05-24 16:13:06 UTC (rev 8201) +++ branches/rewrite/pywikibot/page.py 2010-05-24 21:24:49 UTC (rev 8202) @@ -2126,6 +2126,7 @@ # remove the colon but continue processing # remove any subsequent whitespace t = t.lstrip(u":").lstrip(u" ") + continue prefix = t[ :t.index(u":")].lower() # part of text before : ns = self._source.ns_index(prefix) if ns: