From fa90ef250f9ee5aa4f2fd4bad02e4720e69b89c0 Mon Sep 17 00:00:00 2001 From: Claude Paroz Date: Tue, 21 May 2013 14:41:39 +0200 Subject: [PATCH] [1.5.x] 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 839dd4ef85..5fbafadeda 100644 --- a/django/utils/functional.py +++ b/django/utils/functional.py @@ -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