http://www.mediawiki.org/wiki/Special:Code/pywikipedia/10996
Revision: 10996 Author: xqt Date: 2013-01-27 12:51:44 +0000 (Sun, 27 Jan 2013) Log Message: ----------- fix for super() function; update from trunk r10995
Modified Paths: -------------- branches/rewrite/pywikibot/families/incubator_family.py branches/rewrite/pywikibot/families/meta_family.py
Modified: branches/rewrite/pywikibot/families/incubator_family.py =================================================================== --- branches/rewrite/pywikibot/families/incubator_family.py 2013-01-27 12:49:36 UTC (rev 10995) +++ branches/rewrite/pywikibot/families/incubator_family.py 2013-01-27 12:51:44 UTC (rev 10996) @@ -8,11 +8,11 @@
class Family(family.WikimediaFamily): def __init__(self): - super(WikimediaFamily, self).__init__() + super(Family, self).__init__() self.name = 'incubator' self.langs = { 'incubator': 'incubator.wikimedia.org', }
def ssl_pathprefix(self, code): - return "/wikipedia/incubator" \ No newline at end of file + return "/wikipedia/incubator"
Modified: branches/rewrite/pywikibot/families/meta_family.py =================================================================== --- branches/rewrite/pywikibot/families/meta_family.py 2013-01-27 12:49:36 UTC (rev 10995) +++ branches/rewrite/pywikibot/families/meta_family.py 2013-01-27 12:51:44 UTC (rev 10996) @@ -8,7 +8,7 @@
class Family(family.WikimediaFamily): def __init__(self): - super(WikimediaFamily, self).__init__() + super(Family, self).__init__() self.name = 'meta' self.langs = { 'meta': 'meta.wikimedia.org',
pywikipedia-svn@lists.wikimedia.org