1
0
mirror of https://github.com/django/django.git synced 2025-11-07 07:15:35 +00:00

Removed with_statement imports, useless in Python >= 2.6. Refs #17965. Thanks jonash for the patch.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@17828 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
Claude Paroz
2012-03-30 08:02:08 +00:00
parent 8bb5b60628
commit 9383a2761c
73 changed files with 35 additions and 104 deletions

View File

@@ -1,7 +1,5 @@
"Thread-safe in-memory cache backend."
from __future__ import with_statement
import time
try:
import cPickle as pickle

View File

@@ -3,7 +3,6 @@ Base classes for writing management commands (named commands which can
be executed through ``django-admin.py`` or ``manage.py``).
"""
from __future__ import with_statement
import os
import sys

View File

@@ -1,7 +1,3 @@
# This is necessary in Python 2.5 to enable the with statement, in 2.6
# and up it is no longer necessary.
from __future__ import with_statement
import sys
import os
import gzip

View File

@@ -1,4 +1,3 @@
from __future__ import with_statement
import cgi
import errno
import mimetypes