Bug#742207: [PATCH] Disable colours when stdout is not a terminal

2014-03-21 Thread Lucas De Marchi
On Thu, Mar 20, 2014 at 11:37 PM, Paul Wise wrote: > --- > codespell.py | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/codespell.py b/codespell.py > index fdbd5cb..816593c 100755 > --- a/codespell.py > +++ b/codespell.py > @@ -478,7 +478,7 @@ def main(*args): > > bu

Bug#742207: [PATCH] Disable colours when stdout is not a terminal

2014-03-20 Thread Paul Wise
--- codespell.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/codespell.py b/codespell.py index fdbd5cb..816593c 100755 --- a/codespell.py +++ b/codespell.py @@ -478,7 +478,7 @@ def main(*args): build_dict(options.dictionary) colors = TermColors(); -if option