sympy/sympy — pull request #1461 by asmeurer (2012-08-04 06:56:35+00:00)
Title: Handle the --no-colors option only in the write() function

This fixes the problem where [OK] was not being printed with --no-colors and
many colored text was (see also issue 3349).