commit-gnue
[Top][All Lists]
Advanced

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

gnue-appserver/src geasInstance.py


From: Jan Ischebeck
Subject: gnue-appserver/src geasInstance.py
Date: Wed, 13 Aug 2003 10:07:52 -0400

CVSROOT:        /cvsroot/gnue
Module name:    gnue-appserver
Branch:         
Changes by:     Jan Ischebeck <address@hidden>  03/08/13 10:07:52

Modified files:
        src            : geasInstance.py 

Log message:
        - some cleanup
        - don't return None values to make XMLRPC happy

CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/gnue/gnue-appserver/src/geasInstance.py.diff?tr1=1.12&tr2=1.13&r1=text&r2=text

Patches:
Index: gnue-appserver/src/geasInstance.py
diff -c gnue-appserver/src/geasInstance.py:1.12 
gnue-appserver/src/geasInstance.py:1.13
*** gnue-appserver/src/geasInstance.py:1.12     Tue Aug 12 13:58:20 2003
--- gnue-appserver/src/geasInstance.py  Wed Aug 13 10:07:52 2003
***************
*** 19,25 ****
  # write to the Free Software Foundation, Inc., 59 Temple Place 
  # - Suite 330, Boston, MA 02111-1307, USA.
  #
! # $Id: geasInstance.py,v 1.12 2003/08/12 17:58:20 reinhard Exp $
  
  # 
=============================================================================
  # Instance class
--- 19,25 ----
  # write to the Free Software Foundation, Inc., 59 Temple Place 
  # - Suite 330, Boston, MA 02111-1307, USA.
  #
! # $Id: geasInstance.py,v 1.13 2003/08/13 14:07:52 siesel Exp $
  
  # 
=============================================================================
  # Instance class
***************
*** 75,89 ****
    # 
---------------------------------------------------------------------------
  
    def call (self, methodname, params):
!     # not yet implemented, just test functions, because appserver is still
!     # missing the class definition repository. -- Siesel
      
!     # mis-using trigger to implement methods
! #   trigger=self._list._session._triggerMg.getTriggerByName \
! #              ('%s:%s' % (self._list._classdef.fullName,methodname))
! #   if trigger!=None:
! #       return trigger()
!     # just containing a basic test method
      if methodname=="show":
        print "Function 'show' was called. This record contains the following 
"+\
              " values:"
--- 75,83 ----
    # 
---------------------------------------------------------------------------
  
    def call (self, methodname, params):
!     # TODO: use class repository to fetch method definitions
      
!     # for now: just implement a basic test method
      if methodname=="show":
        print "Function 'show' was called. This record contains the following 
"+\
              " values:"
***************
*** 92,94 ****
--- 86,91 ----
        print
      else:
        print "The method %s is not implemented." % methodname
+ 
+     # return value of '1' to make XMLRPC happy
+     return 1




reply via email to

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