--- ECHO_content/ECHO_helpers.py 2008/12/17 12:02:53 1.95 +++ ECHO_content/ECHO_helpers.py 2008/12/17 12:05:00 1.96 @@ -91,18 +91,20 @@ class ECHO_basis: # Managment for the PID def setPID(self,pid): """set the pid""" + logging.debug(self.getID()+" PID set to "+pid) self.pid=pid return True def getPID(self): """get the pid""" + 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 + if pid == self.getParentPID(): + return None + else: + return pid + def getParentPID(self): """get the PID of the parent"""