commit-gnue
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[gnue] r9214 - trunk/gnue-forms/src/GFObjects


From: reinhard
Subject: [gnue] r9214 - trunk/gnue-forms/src/GFObjects
Date: Fri, 5 Jan 2007 13:23:02 -0600 (CST)

Author: reinhard
Date: 2007-01-05 13:23:02 -0600 (Fri, 05 Jan 2007)
New Revision: 9214

Modified:
   trunk/gnue-forms/src/GFObjects/GFBlock.py
Log:
Fixed LIKE conditions for fields of datatype raw.


Modified: trunk/gnue-forms/src/GFObjects/GFBlock.py
===================================================================
--- trunk/gnue-forms/src/GFObjects/GFBlock.py   2007-01-05 16:22:16 UTC (rev 
9213)
+++ trunk/gnue-forms/src/GFObjects/GFBlock.py   2007-01-05 19:23:02 UTC (rev 
9214)
@@ -1495,7 +1495,7 @@
                 # Falls through to old behaviour if no : condition given or 
                 # the : condition is unknown
                 if not match:
-                    if entry.datatype == 'text':
+                    if isinstance(val, basestring):
                         if self._convertAsterisksToPercent:
                             try:
                                 val = ("%s" % val).replace('*', '%')





reply via email to

[Prev in Thread] Current Thread [Next in Thread]