http://www.mediawiki.org/wiki/Special:Code/pywikipedia/10639
Revision: 10639 Author: xqt Date: 2012-11-01 12:19:32 +0000 (Thu, 01 Nov 2012) Log Message: ----------- shared_data_repository depends on code
Modified Paths: -------------- branches/rewrite/pywikibot/families/wikidata_family.py
Modified: branches/rewrite/pywikibot/families/wikidata_family.py =================================================================== --- branches/rewrite/pywikibot/families/wikidata_family.py 2012-11-01 12:12:57 UTC (rev 10638) +++ branches/rewrite/pywikibot/families/wikidata_family.py 2012-11-01 12:19:32 UTC (rev 10639) @@ -18,4 +18,4 @@ def shared_data_repository(self, code): # for here an now we just use the test repo # for wikimedia families the method can return wikidata itself - return ('repo', 'wikidata') + return ('repo', 'wikidata') if code == 'client' else (None, None)
pywikipedia-svn@lists.wikimedia.org