Revision: 7956 Author: xqt Date: 2010-02-24 13:24:37 +0000 (Wed, 24 Feb 2010)
Log Message: ----------- query: Do not dump page text in verbose option
Modified Paths: -------------- trunk/pywikipedia/query.py
Modified: trunk/pywikipedia/query.py =================================================================== --- trunk/pywikipedia/query.py 2010-02-24 13:13:24 UTC (rev 7955) +++ trunk/pywikipedia/query.py 2010-02-24 13:24:37 UTC (rev 7956) @@ -77,7 +77,7 @@ wikipedia.output(u"%s: (%d items)" % (data.keys()[0], titlecount ) )
for k, v in params.iteritems(): - if k not in ['action', 'format', 'file', 'xml']: + if k not in ['action', 'format', 'file', 'xml', 'text']: if k == 'lgpassword' and wikipedia.verbose == 1: v = u'XXXXX' elif not isinstance(v, unicode):
pywikipedia-svn@lists.wikimedia.org