From fd961941cc1c9e7e1384af527792801f8f897d9f Mon Sep 17 00:00:00 2001 From: Claude Paroz Date: Tue, 21 May 2013 14:41:39 +0200 Subject: [PATCH] Imported copyreg from six.moves --- django/utils/functional.py | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/django/utils/functional.py b/django/utils/functional.py index bf32121e07..93befcf59e 100644 --- a/django/utils/functional.py +++ b/django/utils/functional.py @@ -4,11 +4,7 @@ from functools import wraps 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 with `functools.partial` because this binds