[Zope] Zope hangs on string compared to '##'
Christoph Landwehr
chris-zopemailing at gmx.de
Mon Sep 15 06:15:23 EDT 2003
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
More information about the Zope
mailing list