--- ECHO_content/ECHO_collection.py 2005/07/29 11:17:08 1.231 +++ ECHO_content/ECHO_collection.py 2005/08/15 13:34:04 1.232 @@ -3119,13 +3119,14 @@ class ECHO_root(Folder,Persistent,Implic #str= dom.toxml('utf-8') buf = cStringIO.StringIO() - PrettyPrint(dom, stream=buf, encoding='UTF-8') + PrettyPrint(dom, stream=buf) str = buf.getvalue() buf.close() #str=PrettyPrint(dom.documentElement,encoding='UTF-8') #print link.toxml('utf-8') #print type(str) retStr=regexpPage.search(str) + try: # hack warum fehtl manchmal page?? return retStr.group(1) except: @@ -3142,7 +3143,7 @@ class ECHO_root(Folder,Persistent,Implic except: """nothing""" - dbs={'vl_technology':'','vl_people':'','vl_sites':''} + dbs={'vl_technology':'','vl_people':" AND complete='yes'",'vl_sites':''} res=None for db in dbs.keys(): res=res or self.search(var=str("select reference from %s where reference =\'%s\' %s"%(db,ref,dbs[db])))