http://www.mediawiki.org/wiki/Special:Code/pywikipedia/10029
Revision: 10029
Author: xqt
Date: 2012-03-19 13:36:57 +0000 (Mon, 19 Mar 2012)
Log Message:
-----------
missing coma, fix for r10028 (bug #3508665)
Modified Paths:
--------------
trunk/pywikipedia/pywikibot/textlib.py
Modified: trunk/pywikipedia/pywikibot/textlib.py
===================================================================
--- trunk/pywikipedia/pywikibot/textlib.py 2012-03-19 12:15:04 UTC (rev 10028)
+++ trunk/pywikipedia/pywikibot/textlib.py 2012-03-19 13:36:57 UTC (rev 10029)
@@ -178,7 +178,7 @@
replacement[groupMatch.end():]
except IndexError:
print '\nInvalid group reference:', groupID
- print 'Groups found:\n' match.groups()
+ print 'Groups found:\n', match.groups()
raise IndexError
text = text[:match.start()] + replacement + text[match.end():]