Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Imported copyreg from six.moves

  • Loading branch information...
commit fd961941cc1c9e7e1384af527792801f8f897d9f 1 parent 800513e
@claudep claudep authored
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 with `functools.partial` because this binds
Please sign in to comment.
Something went wrong with that request. Please try again.