--- ECHO_content/ECHO_helpers.py 2008/12/04 21:27:00 1.94 +++ ECHO_content/ECHO_helpers.py 2008/12/17 12:02:53 1.95 @@ -96,7 +96,13 @@ class ECHO_basis: def getPID(self): """get the pid""" - return getattr(self,'pid',None) + pid =getattr(self,'pid',None) + + # teste ob dieses pid wirklich die des objektes und nich vererbt wurde + if pid == self.getParentPID(): + return None + else: + return pid def getParentPID(self): """get the PID of the parent"""