Fixed #11753 - Q objects with callables no longer explode on Python 2.4. Thanks, Jeremy Dunck.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@11901 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
Jacob Kaplan-Moss 2009-12-17 22:06:41 +00:00
parent 3bd849062c
commit 574eafe4c0
24 changed files with 48 additions and 50 deletions

View file

@ -7,16 +7,11 @@ circular import difficulties.
"""
import weakref
from copy import deepcopy
from django.utils.copycompat import deepcopy
from django.utils import tree
from django.utils.datastructures import SortedDict
try:
sorted
except NameError:
from django.utils.itercompat import sorted # For Python 2.3.
class CyclicDependency(Exception):
"""