Diff for /ECHO_content/ECHO_helpers.py between versions 1.95 and 1.96

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

Removed from v.1.95  
changed lines
  Added in v.1.96


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>