Changeset 3684
- Timestamp:
- 08/30/06 22:45:08 (2 years ago)
- Files:
-
- django/trunk/django/db/backends/util.py (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
django/trunk/django/db/backends/util.py
r3113 r3684 99 99 def _dict_helper(desc, row): 100 100 "Returns a dictionary for the given cursor.description and result row." 101 return dict( [(desc[col[0]][0], col[1]) for col in enumerate(row)])101 return dict(zip([col[0] for col in desc], row)) 102 102 103 103 def dictfetchone(cursor):
