Revision: 6735 Author: nicdumz Date: 2009-04-27 12:29:10 +0000 (Mon, 27 Apr 2009)
Log Message: ----------- This code has no more reasons to raise NoPage
Modified Paths: -------------- trunk/pywikipedia/interwiki.py
Modified: trunk/pywikipedia/interwiki.py =================================================================== --- trunk/pywikipedia/interwiki.py 2009-04-27 12:22:14 UTC (rev 6734) +++ trunk/pywikipedia/interwiki.py 2009-04-27 12:29:10 UTC (rev 6735) @@ -1312,12 +1312,8 @@
# Put interwiki links into a map old={} - try: - for page2 in interwikis: - old[page2.site()] = page2 - except wikipedia.NoPage: - wikipedia.output(u"BUG>>> %s no longer exists?" % page.aslink(True)) - raise SaveError + for page2 in interwikis: + old[page2.site()] = page2
# Check what needs to get done mods, adding, removing, modifying = compareLanguages(old, new, insite = page.site())
pywikipedia-svn@lists.wikimedia.org