diff --git a/django/core/management/color.py b/django/core/management/color.py index 572329bb0c..c626f10034 100644 --- a/django/core/management/color.py +++ b/django/core/management/color.py @@ -14,8 +14,7 @@ def supports_color(): Return True if the running system's terminal supports color, and False otherwise. """ - plat = sys.platform - supported_platform = plat != 'Pocket PC' and (plat != 'win32' or 'ANSICON' in os.environ) + supported_platform = sys.platform != 'win32' or 'ANSICON' in os.environ # isatty is not always implemented, #6223. is_a_tty = hasattr(sys.stdout, 'isatty') and sys.stdout.isatty()