Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

[1.5.x] Imported copyreg from six.moves

  • Loading branch information...
commit fa90ef250f9ee5aa4f2fd4bad02e4720e69b89c0 1 parent cb9aaac
@claudep claudep authored toastdriven committed
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
Please sign in to comment.
Something went wrong with that request. Please try again.