Revision: 5176 Author: cosoleto Date: 2008-04-02 14:01:26 +0000 (Wed, 02 Apr 2008)
Log Message: -----------
Fixed bug #1839114 (''Windows Console don't echo messages'') related to Python 2.4, Windows, and a typo in the code.
Modified Paths: -------------- trunk/pywikipedia/userinterfaces/terminal_interface.py
Modified: trunk/pywikipedia/userinterfaces/terminal_interface.py =================================================================== --- trunk/pywikipedia/userinterfaces/terminal_interface.py 2008-04-02 13:06:55 UTC (rev 5175) +++ trunk/pywikipedia/userinterfaces/terminal_interface.py 2008-04-02 14:01:26 UTC (rev 5176) @@ -158,7 +158,7 @@ # ctypes is only available since Python 2.5, and we won't # try to colorize without it. Instead we add *** after the text as a whole # if anything needed to be colorized. - lines = '\n'.split(text) + lines = text.split('\n') for line in lines: line, count = colorTagR.subn('', line) if count > 0: