Browse files

[1.5.x] Imported copyreg from six.moves

  • Loading branch information...
1 parent cb9aaac commit fa90ef250f9ee5aa4f2fd4bad02e4720e69b89c0 @claudep claudep committed with toastdriven May 21, 2013
Showing with 1 addition and 5 deletions.
  1. +1 −5 django/utils/functional.py
View
6 django/utils/functional.py
@@ -4,11 +4,7 @@
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

0 comments on commit fa90ef2

Please sign in to comment.