From d31a248c641e42c1afdbbd93d6d4607dbae779d4 Mon Sep 17 00:00:00 2001 From: desigrammer Date: Mon, 2 Apr 2018 20:32:24 +0900 Subject: [PATCH] Removed unused regexes in django.core.management.templates. Unused since their introduction in a9a0f0b03f9a02deb03617bf7e9773a307d1328f. --- django/core/management/templates.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/django/core/management/templates.py b/django/core/management/templates.py index b132a81507..c55118260d 100644 --- a/django/core/management/templates.py +++ b/django/core/management/templates.py @@ -2,7 +2,6 @@ import cgi import mimetypes import os import posixpath -import re import shutil import stat import tempfile @@ -18,9 +17,6 @@ from django.template import Context, Engine from django.utils import archive from django.utils.version import get_docs_version -_drive_re = re.compile('^([a-z]):', re.I) -_url_drive_re = re.compile('^([a-z])[:|]', re.I) - class TemplateCommand(BaseCommand): """