http://www.mediawiki.org/wiki/Special:Code/pywikipedia/10312
Revision: 10312 Author: xqt Date: 2012-06-08 06:11:57 +0000 (Fri, 08 Jun 2012) Log Message: ----------- small cosmetics from rewrite
Modified Paths: -------------- trunk/pywikipedia/cosmetic_changes.py
Modified: trunk/pywikipedia/cosmetic_changes.py =================================================================== --- trunk/pywikipedia/cosmetic_changes.py 2012-06-08 00:08:13 UTC (rev 10311) +++ trunk/pywikipedia/cosmetic_changes.py 2012-06-08 06:11:57 UTC (rev 10312) @@ -52,7 +52,7 @@ cosmetic_changes_disable['wikipedia'] = ('de', 'en', 'fr') """ # -# (C) xqt, 2009-2011 +# (C) xqt, 2009-2012 # (C) Pywikipedia bot team, 2006-2012 # # Distributed under the terms of the MIT license. @@ -352,7 +352,7 @@ if nsNumber in (2, 3): # Skip user namespace, maybe gender is used continue - namespaces = list(self.site.namespace(nsNumber, all = True)) + namespaces = list(self.site.namespace(nsNumber, all=True)) thisNs = namespaces.pop(0) if nsNumber == 6 and family.name == 'wikipedia': if self.site.lang in ('en', 'fr'):
pywikipedia-svn@lists.wikimedia.org