--- ECHO_content/ECHO_helpers.py 2008/12/04 21:27:00 1.94 +++ ECHO_content/ECHO_helpers.py 2008/12/17 12:05:00 1.96 @@ -91,12 +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""" - return getattr(self,'pid',None) + + pid =getattr(self,'pid',None) + + if pid == self.getParentPID(): + return None + else: + return pid + def getParentPID(self): """get the PID of the parent"""