Revision: 6723 Author: nicdumz Date: 2009-04-26 04:06:33 +0000 (Sun, 26 Apr 2009)
Log Message: ----------- Union operator for sets is | not +
Modified Paths: -------------- trunk/pywikipedia/interwiki.py
Modified: trunk/pywikipedia/interwiki.py =================================================================== --- trunk/pywikipedia/interwiki.py 2009-04-26 03:40:06 UTC (rev 6722) +++ trunk/pywikipedia/interwiki.py 2009-04-26 04:06:33 UTC (rev 6723) @@ -1199,7 +1199,7 @@ langBySize = set(lclSite.family.languages_by_size) allLangs = set(lclSite.family.langs)
- langToCheck = (langBySize + allLangs).difference(lclSite.family.obsolete) + langToCheck = (langBySize | allLangs).difference(lclSite.family.obsolete)
for siteCode in langToCheck: site = wikipedia.getSite(code = siteCode)
pywikipedia-svn@lists.wikimedia.org