commit-gnue
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

gnue/common/src/commdrivers GCommBase.py


From: Jason Cater
Subject: gnue/common/src/commdrivers GCommBase.py
Date: Tue, 04 Dec 2001 00:42:36 -0500

CVSROOT:        /home/cvs
Module name:    gnue
Changes by:     Jason Cater <address@hidden>    01/12/04 00:42:36

Modified files:
        common/src/commdrivers: GCommBase.py 

Log message:
        synching machines

CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/gnue/common/src/commdrivers/GCommBase.py.diff?cvsroot=OldCVS&tr1=1.7&tr2=1.8&r1=text&r2=text

Patches:
Index: gnue/common/src/commdrivers/GCommBase.py
diff -c gnue/common/src/commdrivers/GCommBase.py:1.7 
gnue/common/src/commdrivers/GCommBase.py:1.8
*** gnue/common/src/commdrivers/GCommBase.py:1.7        Wed Nov 28 23:40:39 2001
--- gnue/common/src/commdrivers/GCommBase.py    Tue Dec  4 00:42:36 2001
***************
*** 81,100 ****
          try:
            return self.__dict__[attr]
          except KeyError:
!           po = self.__class__(self._adapters, self, attr_name=attr, 
subobject=1)
            self.__dict__[attr] = po
            return po
  
      except KeyError, mesg:
        raise AttributeError, mesg
  
    def __setattr__(self, attr, value):
      if attr[0] == '_':
        self.__dict__[attr] == value
      else:
!       # TODO
!       pass
  
    def __call__(self, *args, **params):
!     self._server.runMethod(self, args, params):
  
--- 81,102 ----
          try:
            return self.__dict__[attr]
          except KeyError:
!           po = self.__class__(self._adapters, self, attr_name=attr,
!                               subobject=1,  = )
            self.__dict__[attr] = po
            return po
  
      except KeyError, mesg:
        raise AttributeError, mesg
  
+ 
    def __setattr__(self, attr, value):
      if attr[0] == '_':
        self.__dict__[attr] == value
      else:
!       raise GComm.ProgrammingError
! 
  
    def __call__(self, *args, **params):
!     self._server.runMethod(self, *args, **params):
  



reply via email to

[Prev in Thread] Current Thread [Next in Thread]