Skip to content
Browse files

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

git-svn-id: bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
1 parent 176fabc commit 5fb95990865beeb272691b445f9f1b47a469b55b @jacobian jacobian committed
Showing with 1 addition and 2 deletions.
  1. +1 −2 django/core/management/
3 django/core/management/
@@ -11,8 +11,7 @@ def supports_color():
Returns True if the running system's terminal supports color, and False
- unsupported_platform = (sys.platform in ('win32', 'Pocket PC')
- or sys.platform.startswith('java'))
+ unsupported_platform = (sys.platform in ('win32', 'Pocket PC'))
# isatty is not always implemented, #6223.
is_a_tty = hasattr(sys.stdout, 'isatty') and sys.stdout.isatty()
if unsupported_platform or not is_a_tty:

0 comments on commit 5fb9599

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