Author: gwilson Date: 2008-07-12 20:22:31 -0500 (Sat, 12 Jul 2008) New Revision: 7912
Modified: django/trunk/django/db/models/query.py Log: Re-organized imports, removing a couple that were unused. Modified: django/trunk/django/db/models/query.py =================================================================== --- django/trunk/django/db/models/query.py 2008-07-13 01:17:23 UTC (rev 7911) +++ django/trunk/django/db/models/query.py 2008-07-13 01:22:31 UTC (rev 7912) @@ -1,17 +1,16 @@ import warnings +try: + set +except NameError: + from sets import Set as set # Python 2.3 fallback -from django.conf import settings from django.db import connection, transaction, IntegrityError -from django.db.models.fields import DateField, FieldDoesNotExist +from django.db.models.fields import DateField from django.db.models.query_utils import Q, select_related_descend from django.db.models import signals, sql from django.dispatch import dispatcher from django.utils.datastructures import SortedDict -try: - set -except NameError: - from sets import Set as set # Python 2.3 fallback # Used to control how many objects are worked with at once in some cases (e.g. # when deleting objects). --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django updates" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-updates?hl=en -~----------~----~----~----~------~----~------~--~---
