Remove old python2/six code

This commit is contained in:
Garret Wassermann
2018-12-28 03:13:52 -05:00
parent 41d71e9062
commit 696d10db12
34 changed files with 52 additions and 142 deletions

View File

@ -22,11 +22,7 @@ def get_staff_user(username='helpdesk.staff', password='password'):
def reload_urlconf(urlconf=None):
from django.utils import six
if six.PY2:
from imp import reload
else:
from importlib import reload
from importlib import reload
if urlconf is None:
from django.conf import settings