Revision: 4073 Author: wikipedian Date: 2007-08-18 20:40:21 +0000 (Sat, 18 Aug 2007)
Log Message: ----------- fixed bug [ 1776822 ] bot fails to run when ctypes not present
Modified Paths: -------------- trunk/pywikipedia/userinterfaces/terminal_interface.py
Modified: trunk/pywikipedia/userinterfaces/terminal_interface.py =================================================================== --- trunk/pywikipedia/userinterfaces/terminal_interface.py 2007-08-18 18:10:50 UTC (rev 4072) +++ trunk/pywikipedia/userinterfaces/terminal_interface.py 2007-08-18 20:40:21 UTC (rev 4073) @@ -106,8 +106,7 @@ # if anything needed to be colorized. lines = '\n'.split(text) for line in lines: - line, count = startTagR.subn('', line) - line = endTagR.sub('', line) + line, count = colorTagR.subn('', line) if count > 0: line += '***' line += '\n'