Revision: 6649 Author: cosoleto Date: 2009-04-21 14:10:11 +0000 (Tue, 21 Apr 2009)
Log Message: ----------- Fix regression introduced from r6600 when the -text command line parameter is used.
Modified Paths: -------------- trunk/pywikipedia/copyright.py
Modified: trunk/pywikipedia/copyright.py =================================================================== --- trunk/pywikipedia/copyright.py 2009-04-21 14:01:36 UTC (rev 6648) +++ trunk/pywikipedia/copyright.py 2009-04-21 14:10:11 UTC (rev 6649) @@ -1191,7 +1191,7 @@ wikipedia.output(__doc__, 'utf-8')
if text: - output = query(lines = text.splitlines()) + output = SearchEngine().query(lines = text.splitlines()) if output: wikipedia.output(output)