Author: bouldersprinters
Date: 2007-03-28 15:55:46 -0500 (Wed, 28 Mar 2007)
New Revision: 4840

Modified:
   django/branches/boulder-oracle-sprint/django/db/backends/util.py
Log:
boulder-oracle-sprint: Fixed #3835 by making CursorDebugWrapper 
iterable, as it should have been.


Modified: django/branches/boulder-oracle-sprint/django/db/backends/util.py
===================================================================
--- django/branches/boulder-oracle-sprint/django/db/backends/util.py    
2007-03-28 19:55:38 UTC (rev 4839)
+++ django/branches/boulder-oracle-sprint/django/db/backends/util.py    
2007-03-28 20:55:46 UTC (rev 4840)
@@ -33,6 +33,9 @@
                 'time': "%.3f" % (stop - start),
             })
 
+    def __iter__(self):
+        return self.cursor.__iter__()
+
     def __getattr__(self, attr):
         if self.__dict__.has_key(attr):
             return self.__dict__[attr]
@@ -98,9 +101,9 @@
     """
     if length is None or len(name) <= length:
         return name
-    
+
     hash = md5.md5(name).hexdigest()[:4]
-    
+
     return '%s%s' % (name[:length-4], hash)
 
 
##################################################################################


--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to