Revision: 6351 Author: valhallasw Date: 2009-02-14 00:05:02 +0000 (Sat, 14 Feb 2009)
Log Message: ----------- Output help text to stdout instead of stderr
Modified Paths: -------------- trunk/pywikipedia/wikipedia.py
Modified: trunk/pywikipedia/wikipedia.py =================================================================== --- trunk/pywikipedia/wikipedia.py 2009-02-13 21:45:07 UTC (rev 6350) +++ trunk/pywikipedia/wikipedia.py 2009-02-14 00:05:02 UTC (rev 6351) @@ -6765,7 +6765,7 @@ if hasattr(module, 'docuReplacements'): for key, value in module.docuReplacements.iteritems(): helpText = helpText.replace(key, value.strip('\n\r')) - output(helpText) + output(helpText, toStdout = True) except: raise output(u'Sorry, no help available for %s' % moduleName)
pywikipedia-l@lists.wikimedia.org