15 Sep
2003
15 Sep
'03
10:15 a.m.
Hi, I habe a python script which is supposed to print the bindings of a python method: from string import split x=string.split(str(container.my_script.read()),'\n') for i in x: while i[0:2] == '##': # Zope hangs if i compared to '##' print i[0:2] print '<br>' print '# ENDE' of bindings' return printed The script seems to get caught in an endless loop and returns no results. Sometimes after calling the script Zope does not responde anymore and needs to be restarted. Everything runs finde if I compare i eg. with '#' What am I missing? Regards Christoph