Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

[1.1.X] Added Pyton 2.3 compatibility import for use of set by some n…

…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...
commit ee2b07c7fcf0b7e67029b2f04fe18e369eecf98a 1 parent eca89ea
@kmtracey kmtracey authored
Showing with 4 additions and 0 deletions.
  1. +4 −0 tests/regressiontests/queries/tests.py
View
4 tests/regressiontests/queries/tests.py
@@ -1,4 +1,8 @@
import unittest
+try:
+ set
+except NameError:
+ from sets import Set as set
from django.db import DatabaseError, connection
from django.db.models import Count
Please sign in to comment.
Something went wrong with that request. Please try again.