Author: tack
Date: Mon Sep 24 18:39:32 2007
New Revision: 2839

Log:
Last checkin was wrong; should be ATTR_INDEXED_IGNORE_CASE, not 
ATTR_IGNORE_CASE.


Modified:
   trunk/base/src/db.py

Modified: trunk/base/src/db.py
==============================================================================
--- trunk/base/src/db.py        (original)
+++ trunk/base/src/db.py        Mon Sep 24 18:39:32 2007
@@ -1115,8 +1115,9 @@
                     raise ValueError, "One or more requested attributes %s are 
not available for type '%s'" % \
                                       (str(missing), type_name)
                 # If any of the requested attributes are ATTR_SIMPLE or 
-                # ATTR_IGNORE_CASE then we need the pickle.
-                pickled = [ x for x in columns if type_attrs[x][1] & 
(ATTR_SIMPLE | ATTR_IGNORE_CASE) ]
+                # ATTR_INDEXED_IGNORE_CASE then we need the pickle.
+                pickled = [ x for x in columns if type_attrs[x][1] & 
(ATTR_SIMPLE | ATTR_INDEXED_IGNORE_CASE) in 
+                                                                     
(ATTR_SIMPLE, ATTR_INDEXED_IGNORE_CASE)]
                 if pickled:
                     # One or more attributes from pickle are requested in 
attrs list,
                     # so we need to grab the pickle column.

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Freevo-cvslog mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freevo-cvslog

Reply via email to