Skip to content

Commit

Permalink
[1.1.X] Added Pyton 2.3 compatibility import for use of set by some n…
Browse files Browse the repository at this point in the history
…ew tests.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.1.X@12961 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information
kmtracey committed Apr 12, 2010
1 parent eca89ea commit ee2b07c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tests/regressiontests/queries/tests.py
Original file line number Original file line Diff line number Diff line change
@@ -1,4 +1,8 @@
import unittest import unittest
try:
set
except NameError:
from sets import Set as set


from django.db import DatabaseError, connection from django.db import DatabaseError, connection
from django.db.models import Count from django.db.models import Count
Expand Down

0 comments on commit ee2b07c

Please sign in to comment.