--- ECHO_content/ECHO_collection.py 2004/01/21 12:50:28 1.10 +++ ECHO_content/ECHO_collection.py 2004/01/27 13:33:27 1.11 @@ -483,10 +483,12 @@ class ECHO_collection(Folder, Persistent def getCoords(self): try: - return [string.join(x,",") for x in self.coords] - + + x= [string.join(x,",") for x in self.coords] + return x except: + return [] def __init__(self,id,title,label,description,content_type,responsible,credits,weight,sortfield,coords): @@ -588,6 +590,12 @@ class ECHO_collection(Folder, Persistent pt.content_type="text/html" return pt() + def getCredits(self): + """Ausgabe der credits""" + if self.credits: + return self.credits + else: + return [] def getGraphicCoords(self): """Give list of coordinates""" @@ -701,6 +709,7 @@ class ECHO_root(Folder,Persistent,Implic except: """nothing""" + return ids def getCollectionTree(self):