Run 2to3 -f future . -w
This will remove imports from __future__ that are no longer needed. https://docs.python.org/3.5/library/2to3.html#2to3fixer-future
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
Middleware decorator for removing headers.
|
||||
"""
|
||||
|
||||
from __future__ import absolute_import
|
||||
|
||||
|
||||
from functools import wraps
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
"""
|
||||
Middleware used for adjusting headers in a response before it is sent to the end user.
|
||||
"""
|
||||
from __future__ import absolute_import
|
||||
|
||||
|
||||
import six
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
"""Tests for remove_headers and force_header decorator. """
|
||||
from __future__ import absolute_import
|
||||
|
||||
|
||||
from django.http import HttpRequest, HttpResponse
|
||||
from django.test import TestCase
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
"""Tests for header_control middleware."""
|
||||
from __future__ import absolute_import
|
||||
|
||||
|
||||
from django.http import HttpRequest, HttpResponse
|
||||
from django.test import TestCase
|
||||
|
||||
Reference in New Issue
Block a user