On Wed, May 26, 2010 at 10:07:32AM +0000, [email protected] 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).

stan.

_______________________________________________
Pywikipedia-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/pywikipedia-l

Reply via email to