Revision: 4250 Author: wikipedian Date: 2007-09-12 10:07:51 +0000 (Wed, 12 Sep 2007)
Log Message: ----------- removed method that is no longer useful
Modified Paths: -------------- trunk/pywikipedia/family.py
Modified: trunk/pywikipedia/family.py =================================================================== --- trunk/pywikipedia/family.py 2007-09-12 10:04:33 UTC (rev 4249) +++ trunk/pywikipedia/family.py 2007-09-12 10:07:51 UTC (rev 4250) @@ -2218,18 +2218,10 @@ """Add a new language to the langs and namespaces of the family. This is supposed to be called in the constructor of the family.""" self.langs[code] = location - + for num, val in namespaces.items(): self.namespaces[num][code]=val
- def _talkNamespace(self, code, associatedNamespaceIndex): - associatedNamespace = self.namespace(code, associatedNamespaceIndex) - if self.talkNamespacePatterns.has_key(code): - talk = self.talkNamespacePatterns[code] - else: - talk = self.talkNamespacePatterns['_default'] - return talk(associatedNamespace) - def linktrail(self, code, fallback = '_default'): if self.linktrails.has_key(code): return self.linktrails[code]
pywikipedia-l@lists.wikimedia.org