Django

Code

Changeset 7910

Show
Ignore:
Timestamp:
07/12/08 18:25:22 (4 months ago)
Author:
mtredinnick
Message:

Fixed #7734 -- Fixed a Python 2.3 compatibility problem.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • django/trunk/django/db/models/query.py

    r7871 r7910  
    88from django.dispatch import dispatcher 
    99from django.utils.datastructures import SortedDict 
     10 
     11try: 
     12    set 
     13except NameError: 
     14    from sets import Set as set     # Python 2.3 fallback 
    1015 
    1116# Used to control how many objects are worked with at once in some cases (e.g.