[1.5.x] Imported copyreg from six.moves
This commit is contained in:
parent
cb9aaac91f
commit
fa90ef250f
|
@ -4,11 +4,7 @@ from functools import wraps, update_wrapper
|
|||
import sys
|
||||
|
||||
from django.utils import six
|
||||
|
||||
try:
|
||||
import copyreg
|
||||
except ImportError:
|
||||
import copy_reg as copyreg
|
||||
from django.utils.six.moves import copyreg
|
||||
|
||||
|
||||
# You can't trivially replace this `functools.partial` because this binds to
|
||||
|
|
Loading…
Reference in New Issue