2010/5/26 stanlekub stanlekub@free.fr:
On Wed, May 26, 2010 at 10:07:32AM +0000, nicdumz@svn.wikimedia.org wrote:
Modified: branches/rewrite/pywikibot/page.py
--- branches/rewrite/pywikibot/page.py 2010-05-26 09:44:23 UTC (rev 8217) +++ branches/rewrite/pywikibot/page.py 2010-05-26 10:07:32 UTC (rev 8218) @@ -102,7 +102,7 @@ self.__dict__ = source.__dict__ if title: # overwrite title
- self._link = Link(title, source=source, defaultNamespace=ns)
- self._link = Link(title, source=source.site, defaultNamespace=ns)
For the time being, this should probably be "source=source.site(), ...", no ? (considering that source is a Page object, which is the case here).
You're right, and I just fixed it.
Thanks for the careful review :)
stan.
Pywikipedia-l mailing list Pywikipedia-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikipedia-l