Author: kmtracey
Date: 2010-04-12 16:11:56 -0500 (Mon, 12 Apr 2010)
New Revision: 12961

Modified:
   django/branches/releases/1.1.X/tests/regressiontests/queries/tests.py
Log:
[1.1.X] Added Pyton 2.3 compatibility import for use of set by some new tests.


Modified: django/branches/releases/1.1.X/tests/regressiontests/queries/tests.py
===================================================================
--- django/branches/releases/1.1.X/tests/regressiontests/queries/tests.py       
2010-04-12 17:27:53 UTC (rev 12960)
+++ django/branches/releases/1.1.X/tests/regressiontests/queries/tests.py       
2010-04-12 21:11:56 UTC (rev 12961)
@@ -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

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to django-upda...@googlegroups.com.
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en.

Reply via email to