Revision: 6717 Author: nicdumz Date: 2009-04-25 15:00:56 +0000 (Sat, 25 Apr 2009)
Log Message: ----------- updatedSites is a list. It needs to be converted explicitely to a set before using set differences
Modified Paths: -------------- trunk/pywikipedia/interwiki.py
Modified: trunk/pywikipedia/interwiki.py =================================================================== --- trunk/pywikipedia/interwiki.py 2009-04-25 14:55:09 UTC (rev 6716) +++ trunk/pywikipedia/interwiki.py 2009-04-25 15:00:56 UTC (rev 6717) @@ -1426,7 +1426,7 @@ expectedPages = set(new.itervalues()) expectedSites = set(new) try: - for site in expectedSites - updatedSites: + for site in expectedSites - set(updatedSites): page = new[site] if not page.section(): try: