[Zope] is the return list of an SQL Method a string list

Gostnerr GostnerR@t-systems.com
Thu, 7 Mar 2002 11:45:51 +0100


Hello,

i have wirtten a python script like this
get_all_cities return a list of cities from a SQL database table:
the problem ist, that the if condition is never true ( but there exists the Citiy 'new york'  in the table) 
have anybody an idea why this does not work ??

roswitha


-----------------------------------------------

for x in get_all_cities :
     if x =='New York' :
         do something