Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Fixed #8100: Jython, apparently, is now a TTY.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@8239 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit 5fb95990865beeb272691b445f9f1b47a469b55b 1 parent 176fabc
Jacob Kaplan-Moss authored August 08, 2008

Showing 1 changed file with 1 addition and 2 deletions. Show diff stats Hide diff stats

  1. 3  django/core/management/color.py
3  django/core/management/color.py
@@ -11,8 +11,7 @@ def supports_color():
11 11
     Returns True if the running system's terminal supports color, and False
12 12
     otherwise.
13 13
     """
14  
-    unsupported_platform = (sys.platform in ('win32', 'Pocket PC')
15  
-                            or sys.platform.startswith('java'))
  14
+    unsupported_platform = (sys.platform in ('win32', 'Pocket PC'))
16 15
     # isatty is not always implemented, #6223.
17 16
     is_a_tty = hasattr(sys.stdout, 'isatty') and sys.stdout.isatty()
18 17
     if unsupported_platform or not is_a_tty:

0 notes on commit 5fb9599

Please sign in to comment.
Something went wrong with that request. Please try again.