http://www.mediawiki.org/wiki/Special:Code/pywikipedia/9272
Revision: 9272 Author: xqt Date: 2011-05-26 06:02:42 +0000 (Thu, 26 May 2011) Log Message: ----------- fix for comma separating join statement
Modified Paths: -------------- trunk/pywikipedia/interwiki.py
Modified: trunk/pywikipedia/interwiki.py =================================================================== --- trunk/pywikipedia/interwiki.py 2011-05-26 05:59:01 UTC (rev 9271) +++ trunk/pywikipedia/interwiki.py 2011-05-26 06:02:42 UTC (rev 9272) @@ -2290,9 +2290,9 @@
mcomment += globalvar.summary
- changes = {'adding': ' ,'.join([fmt(new, x) for x in adding]), - 'removing': ' ,'.join([fmt(old, x) for x in removing]), - 'modifying': ' ,'.join([fmt(new, x) for x in modifying])} + changes = {'adding': ', '.join([fmt(new, x) for x in adding]), + 'removing': ', '.join([fmt(old, x) for x in removing]), + 'modifying': ', '.join([fmt(new, x) for x in modifying])}
mcomment += i18n.twtranslate(insite.lang, commentname) % changes mods = i18n.twtranslate('en', commentname) % changes