http://www.mediawiki.org/wiki/Special:Code/pywikipedia/10995
Revision: 10995 Author: xqt Date: 2013-01-27 12:49:36 +0000 (Sun, 27 Jan 2013) Log Message: ----------- fix for super() function
Modified Paths: -------------- trunk/pywikipedia/families/incubator_family.py trunk/pywikipedia/families/meta_family.py
Modified: trunk/pywikipedia/families/incubator_family.py =================================================================== --- trunk/pywikipedia/families/incubator_family.py 2013-01-27 12:39:51 UTC (rev 10994) +++ trunk/pywikipedia/families/incubator_family.py 2013-01-27 12:49:36 UTC (rev 10995) @@ -8,7 +8,7 @@
class Family(family.WikimediaFamily): def __init__(self): - super(WikimediaFamily, self).__init__() + super(Family, self).__init__() self.name = 'incubator' self.langs = { 'incubator': 'incubator.wikimedia.org',
Modified: trunk/pywikipedia/families/meta_family.py =================================================================== --- trunk/pywikipedia/families/meta_family.py 2013-01-27 12:39:51 UTC (rev 10994) +++ trunk/pywikipedia/families/meta_family.py 2013-01-27 12:49:36 UTC (rev 10995) @@ -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',