diff --git a/django/utils/autoreload.py b/django/utils/autoreload.py index cc34534fc5f..97522b90184 100644 --- a/django/utils/autoreload.py +++ b/django/utils/autoreload.py @@ -234,7 +234,6 @@ def kqueue_code_changed(): return True - def code_changed(): global _mtimes, _win for filename in gen_filenames(): diff --git a/django/utils/crypto.py b/django/utils/crypto.py index bef7b2cc4f1..963f9e01e88 100644 --- a/django/utils/crypto.py +++ b/django/utils/crypto.py @@ -7,9 +7,7 @@ import hmac import struct import hashlib import binascii -import operator import time -from functools import reduce # Use the system PRNG if possible import random