ja...@bcc190cf-cafb-0310-a4f2-bffc1f526a37  committed 0c1c79f

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

  • Participants
  • Parent commits b2133d3

Comments (0)

Files changed (1)

File django/core/management/

     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: