Revision: 6988 Author: nicdumz Date: 2009-06-22 15:24:18 +0000 (Mon, 22 Jun 2009)
Log Message: ----------- spaces after operators
Modified Paths: -------------- branches/rewrite/pywikibot/family.py
Modified: branches/rewrite/pywikibot/family.py =================================================================== --- branches/rewrite/pywikibot/family.py 2009-06-22 15:23:57 UTC (rev 6987) +++ branches/rewrite/pywikibot/family.py 2009-06-22 15:24:18 UTC (rev 6988) @@ -5,7 +5,7 @@ # # Distributed under the terms of the MIT license. # -__version__='$Id$' +__version__ = '$Id$'
import config2 as config import logging @@ -846,7 +846,7 @@ 'sr': [u'СТРАНИЦЕ'] }
- def pagenamecodes(self,code): + def pagenamecodes(self, code): pos = ['PAGENAME'] pos2 = [] if code in self.pagename: @@ -856,10 +856,10 @@ elif code == 'bm': return self.pagenamecodes('fr') for p in pos: - pos2 += [p,p.lower()] + pos2 += [p, p.lower()] return pos2
- def pagename2codes(self,code): + def pagename2codes(self, code): pos = ['PAGENAME'] pos2 = [] if code in self.pagenamee: @@ -869,7 +869,7 @@ elif code == 'bm': return self.pagename2codes('fr') for p in pos: - pos2 += [p,p.lower()] + pos2 += [p, p.lower()] return pos2
# Methods @@ -979,7 +979,7 @@ found is an existing page, in case the normal regexp does not work.""" return None
- def has_query_api(self,code): + def has_query_api(self, code): """Is query.php installed in the wiki?""" return False
pywikipedia-svn@lists.wikimedia.org