1
0
mirror of https://github.com/django/django.git synced 2025-10-24 06:06:09 +00:00

Removed threading fallback imports.

Django imports threading in many other places without fallback.
This commit is contained in:
Tim Graham
2015-01-28 09:55:52 -05:00
parent cd91486213
commit 18f3e79b13
6 changed files with 6 additions and 33 deletions

View File

@@ -6,16 +6,12 @@ import os
import shutil
import sys
import tempfile
import threading
import time
import unittest
import warnings
from datetime import datetime, timedelta
try:
import threading
except ImportError:
import dummy_threading as threading
from django.core.cache import cache
from django.core.exceptions import SuspiciousOperation, SuspiciousFileOperation
from django.core.files.base import File, ContentFile