Revision: 8402 Author: valhallasw Date: 2010-08-14 15:51:48 +0000 (Sat, 14 Aug 2010)
Log Message: ----------- Bugfix in getlangs()
Modified Paths: -------------- trunk/pywikipedia/generate_family_file.py
Modified: trunk/pywikipedia/generate_family_file.py =================================================================== --- trunk/pywikipedia/generate_family_file.py 2010-08-14 12:19:49 UTC (rev 8401) +++ trunk/pywikipedia/generate_family_file.py 2010-08-14 15:51:48 UTC (rev 8402) @@ -83,7 +83,7 @@
if len(self.langs) > 1 and \ raw_input("\nThere are %i languages available.\nDo you want to generate interwiki links? This might take a long time. (y/N)" % len(self.langs)).lower() != "y": - self.langs = [wiki for wiki in langs if wiki[u'url'] == w.iwpath] + self.langs = [wiki for wiki in self.langs if wiki[u'url'] == w.iwpath]
def getapis(self): print "Loading wikis... "