http://www.mediawiki.org/wiki/Special:Code/pywikipedia/9290
Revision: 9290 Author: alexsh Date: 2011-06-06 09:03:07 +0000 (Mon, 06 Jun 2011) Log Message: ----------- fix r9289
Modified Paths: -------------- trunk/pywikipedia/wikipedia.py
Modified: trunk/pywikipedia/wikipedia.py =================================================================== --- trunk/pywikipedia/wikipedia.py 2011-06-05 23:50:50 UTC (rev 9289) +++ trunk/pywikipedia/wikipedia.py 2011-06-06 09:03:07 UTC (rev 9290) @@ -7049,7 +7049,7 @@ value = namespace.get('_default', None) if value: if isinstance(value, list): - defaults += value[0] + defaults.append(value[0]) else: defaults.append(value)
pywikipedia-svn@lists.wikimedia.org