mirror of
https://github.com/Hopiu/wagtail.git
synced 2026-04-15 04:21:07 +00:00
Merge pull request #1868 from takeflight/bug/remove-six
Use six from Django, remove six from tox.ini
This commit is contained in:
commit
3d5dd9edbd
3 changed files with 2 additions and 3 deletions
1
tox.ini
1
tox.ini
|
|
@ -28,7 +28,6 @@ deps =
|
|||
beautifulsoup4>=4.3.2
|
||||
html5lib==0.999
|
||||
Unidecode>=0.04.14
|
||||
six==1.7.3
|
||||
elasticsearch==1.1.0
|
||||
mock==1.0.1
|
||||
python-dateutil==2.2
|
||||
|
|
|
|||
|
|
@ -3,9 +3,9 @@
|
|||
# https://github.com/django/django/blob/5d263dee304fdaf95e18d2f0619d6925984a7f02/django/core/cache/__init__.py
|
||||
|
||||
import sys
|
||||
import six
|
||||
from importlib import import_module
|
||||
|
||||
from django.utils import six
|
||||
from django.utils.module_loading import import_string
|
||||
from django.core.exceptions import ImproperlyConfigured
|
||||
from django.conf import settings
|
||||
|
|
|
|||
|
|
@ -1,9 +1,9 @@
|
|||
from __future__ import absolute_import
|
||||
|
||||
import json
|
||||
import six
|
||||
import warnings
|
||||
|
||||
from django.utils import six
|
||||
from django.utils.six.moves.urllib.parse import urlparse
|
||||
|
||||
from elasticsearch import Elasticsearch, NotFoundError
|
||||
|
|
|
|||
Loading…
Reference in a new issue