Revision: 7727 Author: alexsh Date: 2009-12-01 20:52:47 +0000 (Tue, 01 Dec 2009)
Log Message: ----------- typo...orz
Modified Paths: -------------- trunk/pywikipedia/wikipedia.py
Modified: trunk/pywikipedia/wikipedia.py =================================================================== --- trunk/pywikipedia/wikipedia.py 2009-12-01 20:48:11 UTC (rev 7726) +++ trunk/pywikipedia/wikipedia.py 2009-12-01 20:52:47 UTC (rev 7727) @@ -2792,8 +2792,8 @@ try: self.get(force=True, get_redirect=True, throttle=False) except NoPage: - output(u'Page %s is moved and no longer exist.') - delattr(self, '_contents') + output(u'Page %s is moved and no longer exist.' % self.title() ) + #delattr(self, '_contents') return True
@@ -2869,8 +2869,8 @@ try: self.get(force=True, get_redirect=True, throttle=False) except NoPage: - output(u'Page %s is moved and no longer exist.') - delattr(self, '_contents') + output(u'Page %s is moved and no longer exist.' % self.title() ) + #delattr(self, '_contents')
return True else:
pywikipedia-svn@lists.wikimedia.org