commit-gnue
[Top][All Lists]
Advanced

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

gnue/common/src/commdrivers pyro/CommDriver.py ...


From: Jason Cater
Subject: gnue/common/src/commdrivers pyro/CommDriver.py ...
Date: Fri, 15 Feb 2002 09:52:18 -0500

CVSROOT:        /home/cvs
Module name:    gnue
Changes by:     Jason Cater <address@hidden>    02/02/15 09:52:18

Modified files:
        common/src/commdrivers/pyro: CommDriver.py 
        common/src/commdrivers/soap: CommDriver.py 
        common/src/commdrivers/sockets: CommDriver.py 

Log message:
        misc typo fixes

CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/gnue/common/src/commdrivers/pyro/CommDriver.py.diff?cvsroot=OldCVS&tr1=1.2&tr2=1.3&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/gnue/common/src/commdrivers/soap/CommDriver.py.diff?cvsroot=OldCVS&tr1=1.1&tr2=1.2&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/gnue/common/src/commdrivers/sockets/CommDriver.py.diff?cvsroot=OldCVS&tr1=1.3&tr2=1.4&r1=text&r2=text

Patches:
Index: gnue/common/src/commdrivers/pyro/CommDriver.py
diff -c gnue/common/src/commdrivers/pyro/CommDriver.py:1.2 
gnue/common/src/commdrivers/pyro/CommDriver.py:1.3
*** gnue/common/src/commdrivers/pyro/CommDriver.py:1.2  Fri Oct 26 01:40:45 2001
--- gnue/common/src/commdrivers/pyro/CommDriver.py      Fri Feb 15 09:52:18 2002
***************
*** 39,47 ****
  try:
    import pyro
  except ImportError:
!   print "\nUnable to load pyro.  To use the PYRO interface, \n"
!         "please install Pyro from:\n"
!         "    http://pyro.sourceforge.net/\n";
    sys.exit()
  
  
--- 39,47 ----
  try:
    import pyro
  except ImportError:
!   print "\nUnable to load pyro.  To use the PYRO interface, \n" \
!       + "please install Pyro from:\n" \
!       + "    http://pyro.sourceforge.net/\n";
    sys.exit()
  
  
***************
*** 52,57 ****
  
  class ServerAdapter(GCommBase.Server):
  
!   def raiseException(self, exception, message)
      raise exception, message
  
--- 52,57 ----
  
  class ServerAdapter(GCommBase.Server):
  
!   def raiseException(self, exception, message):
      raise exception, message
  
Index: gnue/common/src/commdrivers/soap/CommDriver.py
diff -c gnue/common/src/commdrivers/soap/CommDriver.py:1.1 
gnue/common/src/commdrivers/soap/CommDriver.py:1.2
*** gnue/common/src/commdrivers/soap/CommDriver.py:1.1  Thu Oct 25 19:00:19 2001
--- gnue/common/src/commdrivers/soap/CommDriver.py      Fri Feb 15 09:52:18 2002
***************
*** 39,50 ****
  
  from gnue.common.commdrivers import GCommBase
  
! try: 
    import soaplib
! except ImportError: 
!   print "\nUnable to load soaplib.  To use the SOAP interface, \n"
!         "please install soaplib from:\n"
!         "    http://www.pythonware.com/products/soap/\n";
    sys.exit()
  
  
--- 39,50 ----
  
  from gnue.common.commdrivers import GCommBase
  
! try:
    import soaplib
! except ImportError:
!   print "\nUnable to load soaplib.  To use the SOAP interface, \n" \
!       + "please install soaplib from:\n" \
!       + "    http://www.pythonware.com/products/soap/\n";
    sys.exit()
  
  
***************
*** 55,61 ****
  
  class ServerDriver(GCommBase.BaseServerDriver): 
  
!   def raiseException(self, exception, message)
      raise exception, message
  
  
--- 55,61 ----
  
  class ServerDriver(GCommBase.BaseServerDriver): 
  
!   def raiseException(self, exception, message):
      raise exception, message
  
  
Index: gnue/common/src/commdrivers/sockets/CommDriver.py
diff -c gnue/common/src/commdrivers/sockets/CommDriver.py:1.3 
gnue/common/src/commdrivers/sockets/CommDriver.py:1.4
*** gnue/common/src/commdrivers/sockets/CommDriver.py:1.3       Wed Nov 28 
10:56:25 2001
--- gnue/common/src/commdrivers/sockets/CommDriver.py   Fri Feb 15 09:52:18 2002
***************
*** 147,153 ****
  #
  class ServerAdapter(AsyncSocketServer):
  
!   def raiseException(self, exception, message, event=None)
      pass
  
  
--- 147,153 ----
  #
  class ServerAdapter(AsyncSocketServer):
  
!   def raiseException(self, exception, message, event=None):
      pass
  
  
***************
*** 164,174 ****
      return "<sockets.ProxyObject at %s>" % (id(self))
  
    def __call__(self, *args, **params):
!     self._server.runMethod(self, args, params):
  
    # Server raised an exception...
    # Translate the exception into a local python
    # exception and raise it...
!   def _exceptionRaised(self, data)
      pass
  
--- 164,174 ----
      return "<sockets.ProxyObject at %s>" % (id(self))
  
    def __call__(self, *args, **params):
!     self._server.runMethod(self, args, params)
  
    # Server raised an exception...
    # Translate the exception into a local python
    # exception and raise it...
!   def _exceptionRaised(self, data):
      pass
  



reply via email to

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