[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
r5741 - trunk/gnue-appserver/src
From: |
reinhard |
Subject: |
r5741 - trunk/gnue-appserver/src |
Date: |
Sun, 18 Apr 2004 16:43:52 -0500 (CDT) |
Author: reinhard
Date: 2004-04-18 16:43:51 -0500 (Sun, 18 Apr 2004)
New Revision: 5741
Modified:
trunk/gnue-appserver/src/geasSession.py
Log:
Fixed condition translation from properties to columns.
Modified: trunk/gnue-appserver/src/geasSession.py
===================================================================
--- trunk/gnue-appserver/src/geasSession.py 2004-04-18 21:06:32 UTC (rev
5740)
+++ trunk/gnue-appserver/src/geasSession.py 2004-04-18 21:43:51 UTC (rev
5741)
@@ -117,8 +117,12 @@
def __convertCondition (self, classdef, condition, contentdict):
if isinstance (condition, ListType) and condition:
- if isinstance (condition [0], StringType) and condition [0] == 'field':
- if len (condition) == 2 and isinstance (condition [1], StringType):
+ if (isinstance (condition [0], StringType) or \
+ isinstance (condition [0], UnicodeType)) and \
+ condition [0] == 'field':
+ if len (condition) == 2 and \
+ (isinstance (condition [1], StringType) or \
+ isinstance (condition [1], UnicodeType)):
condition [1] = self.__getFieldname (classdef, condition [1],
contentdict, False)
else:
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- r5741 - trunk/gnue-appserver/src,
reinhard <=