http://www.mediawiki.org/wiki/Special:Code/pywikipedia/10249
Revision: 10249 Author: xqt Date: 2012-05-24 14:51:46 +0000 (Thu, 24 May 2012) Log Message: ----------- remove old stuff, bugfix for last commit r10248
Modified Paths: -------------- trunk/pywikipedia/wikipedia.py
Modified: trunk/pywikipedia/wikipedia.py =================================================================== --- trunk/pywikipedia/wikipedia.py 2012-05-24 14:49:23 UTC (rev 10248) +++ trunk/pywikipedia/wikipedia.py 2012-05-24 14:51:46 UTC (rev 10249) @@ -781,7 +781,7 @@ raise BadTitle('BadTitle: %s' % self) elif 'revisions' in pageInfo: #valid Title lastRev = pageInfo['revisions'][0] - if isinstance(type(lastRev['*'], basestring): + if isinstance(lastRev['*'], basestring): textareaFound = True # I got page date with 'revisions' in pageInfo but # lastRev['*'] = False instead of the content. The Page itself was
pywikipedia-svn@lists.wikimedia.org