[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[gnue] r7239 - trunk/gnue-appserver/src
From: |
johannes |
Subject: |
[gnue] r7239 - trunk/gnue-appserver/src |
Date: |
Mon, 21 Mar 2005 05:42:18 -0600 (CST) |
Author: johannes
Date: 2005-03-21 05:42:18 -0600 (Mon, 21 Mar 2005)
New Revision: 7239
Modified:
trunk/gnue-appserver/src/data.py
Log:
Don't be case-sensitive while ordering records
Modified: trunk/gnue-appserver/src/data.py
===================================================================
--- trunk/gnue-appserver/src/data.py 2005-03-21 11:07:41 UTC (rev 7238)
+++ trunk/gnue-appserver/src/data.py 2005-03-21 11:42:18 UTC (rev 7239)
@@ -904,9 +904,12 @@
# First create a dictionary with all tables scheduled for processing, and
# another dictionary of all records grouped by their tablename
for (table, row) in records:
- tables [table] = []
+ tablename = table.lower ()
+ tables [tablename] = []
- rows = data.setdefault (table, [])
+ # Note: We use the lowered tablename as key, but the original tablename
+ # in the tuple, so later processing of won't get disturbed
+ rows = data.setdefault (tablename, [])
rows.append ((table, row))
# Now, add all those constraints which are also scheduled for processing.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [gnue] r7239 - trunk/gnue-appserver/src,
johannes <=