Fixed #6223 -- When determining if terminal supports color, don't call `isatty` if it doesn't exist, thanks mamadou.
Fixed #6223 -- When determining if terminal supports color, don't call `isatty` if it doesn't exist, thanks mamadou.


git-svn-id: 4f9f921b081c523744c7bf24d959a0db39629563@7202 bcc190cf-cafb-0310-a4f2-bffc1f526a37

mitsuhiko/django,alex/django-old,bfirsh/django-old,django-nonrel/django-nonrel,hugs/django,Instagram/django,skevy/django,Smarsh/django,Instagram/django,dcramer/django-compositepks,mitsuhiko/django,jamespacileo/django-france,bfirsh/django-old,alex/django-old,t11e/django,disqus/django-old,t11e/django,jamespacileo/django-france,sam-tsai/django-old,dcramer/django-compositepks,Instagram/django,django-nonrel/django-nonrel,disqus/django-old,skevy/django,sam-tsai/django-old,django-nonrel/django-nonrel,sam-tsai/django-old,alex/django-old,Smarsh/django,dcramer/django-compositepks,sam-tsai/django-old,jamespacileo/django-france,t11e/django,Smarsh/django,mitsuhiko/django,Smarsh/django,hugs/django,hugs/django,bfirsh/django-old,skevy/django,disqus/django-old