Revision: 6755 Author: nicdumz Date: 2009-04-30 00:26:14 +0000 (Thu, 30 Apr 2009)
Log Message: ----------- except: -> except wikipedia.Error
Modified Paths: -------------- trunk/pywikipedia/interwiki.py
Modified: trunk/pywikipedia/interwiki.py =================================================================== --- trunk/pywikipedia/interwiki.py 2009-04-29 21:45:15 UTC (rev 6754) +++ trunk/pywikipedia/interwiki.py 2009-04-30 00:26:14 UTC (rev 6755) @@ -1967,7 +1967,7 @@ site = wikipedia.getSite() mainpagename = site.mediawiki_message('mainpage') globalvar.skip.add(wikipedia.Page(site, mainpagename)) - except: + except wikipedia.Error: wikipedia.output(u'Missing main page name')
if newPages is not None:
pywikipedia-svn@lists.wikimedia.org