diff --git a/manage.py b/manage.py index d40943c960..a17630ac8b 100755 --- a/manage.py +++ b/manage.py @@ -2,21 +2,15 @@ import configparser import os import sys +from collections import defaultdict from typing import Dict, List, Optional -if sys.version_info <= (3, 0): - print("Error: Zulip is a Python 3 project, and cannot be run with Python 2.") - print("Use e.g. `/path/to/manage.py` not `python /path/to/manage.py`.") - sys.exit(1) - BASE_DIR = os.path.dirname(os.path.abspath(__file__)) sys.path.append(BASE_DIR) from scripts.lib.setup_path import setup_path setup_path() -from collections import defaultdict - from django.core.management import ManagementUtility, get_commands from django.core.management.color import color_style