Revision: 6425 Author: nicdumz Date: 2009-02-23 09:22:34 +0000 (Mon, 23 Feb 2009)
Log Message: ----------- user is a method, not an attribute.
Modified Paths: -------------- branches/rewrite/pywikibot/site.py
Modified: branches/rewrite/pywikibot/site.py =================================================================== --- branches/rewrite/pywikibot/site.py 2009-02-23 09:13:19 UTC (rev 6424) +++ branches/rewrite/pywikibot/site.py 2009-02-23 09:22:34 UTC (rev 6425) @@ -403,7 +403,7 @@ def getSite(self, code): """Return Site object for language 'code' in this Family."""
- return pywikibot.Site(code=code, fam=self.family, user=self.user) + return pywikibot.Site(code=code, fam=self.family, user=self.user())
# deprecated methods for backwards-compatibility
pywikipedia-l@lists.wikimedia.org