Return to ECHO_helpers.py CVS log | Up to [Repository] / ECHO_content |
version 1.94, 2008/12/04 21:27:00 | version 1.95, 2008/12/17 12:02:53 |
---|---|
Line 96 class ECHO_basis: | Line 96 class ECHO_basis: |
def getPID(self): | def getPID(self): |
"""get the pid""" | """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): | def getParentPID(self): |
"""get the PID of the parent""" | """get the PID of the parent""" |