Revision: 6722 Author: nicdumz Date: 2009-04-26 03:40:06 +0000 (Sun, 26 Apr 2009)
Log Message: ----------- Bug #2781466 : interwiki.py NameError: global name lcl not defined
Modified Paths: -------------- trunk/pywikipedia/interwiki.py
Modified: trunk/pywikipedia/interwiki.py =================================================================== --- trunk/pywikipedia/interwiki.py 2009-04-26 02:51:55 UTC (rev 6721) +++ trunk/pywikipedia/interwiki.py 2009-04-26 03:40:06 UTC (rev 6722) @@ -1197,7 +1197,7 @@ # XXX Do we really need to make an union here? # we should have sorted(languages_by_size) = sorted(langs) ?! langBySize = set(lclSite.family.languages_by_size) - allLangs = set(lcl.family.langs) + allLangs = set(lclSite.family.langs)
langToCheck = (langBySize + allLangs).difference(lclSite.family.obsolete)