Fix for the ANSI escape sequences for colouring text for when an isatty() method does not exist.
This is needed for the epydoc constructed API documentation as the redirection is a special epydoc _Devnull object which has not isatty() method!
Authored by: bugman 2012-04-25
Parent: [r15825]
Child: [r15827]