summaryrefslogtreecommitdiff
path: root/django/utils
diff options
context:
space:
mode:
authorAlex Gaynor <alex.gaynor@gmail.com>2013-11-05 09:17:50 -0800
committerAlex Gaynor <alex.gaynor@gmail.com>2013-11-05 09:17:50 -0800
commit8a0489221eb20f9687125cabda64bb16ea3bad0b (patch)
treefeeb5bd92475e5b9afae327d25adcfd22eee1942 /django/utils
parentbdca4944647a734fab592ab08c6311e365231287 (diff)
Flake8 fixes
Diffstat (limited to 'django/utils')
-rw-r--r--django/utils/autoreload.py1
-rw-r--r--django/utils/crypto.py2
2 files changed, 0 insertions, 3 deletions
diff --git a/django/utils/autoreload.py b/django/utils/autoreload.py
index cc34534fc5..97522b9018 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 bef7b2cc4f..963f9e01e8 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