commit-gnue
[Top][All Lists]
Advanced

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

gnue-appserver/src geasSession.py


From: Reinhard Mueller
Subject: gnue-appserver/src geasSession.py
Date: Sun, 19 Oct 2003 12:45:16 -0400

CVSROOT:        /cvsroot/gnue
Module name:    gnue-appserver
Branch:         
Changes by:     Reinhard Mueller <address@hidden>       03/10/19 12:45:16

Modified files:
        src            : geasSession.py 

Log message:
        Append list of types to resultset instead of replacing the whole 
resultset.
        This fixes reading of the types together with data.

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

Patches:
Index: gnue-appserver/src/geasSession.py
diff -c gnue-appserver/src/geasSession.py:1.39 
gnue-appserver/src/geasSession.py:1.40
*** gnue-appserver/src/geasSession.py:1.39      Sun Oct 19 09:07:14 2003
--- gnue-appserver/src/geasSession.py   Sun Oct 19 12:45:16 2003
***************
*** 19,25 ****
  # write to the Free Software Foundation, Inc., 59 Temple Place
  # - Suite 330, Boston, MA 02111-1307, USA.
  #
! # $Id: geasSession.py,v 1.39 2003/10/19 13:07:14 reinhard Exp $
  
  import geasList
  import classrep
--- 19,25 ----
  # write to the Free Software Foundation, Inc., 59 Temple Place
  # - Suite 330, Boston, MA 02111-1307, USA.
  #
! # $Id: geasSession.py,v 1.40 2003/10/19 16:45:16 reinhard Exp $
  
  import geasList
  import classrep
***************
*** 173,179 ****
      for object_id in obj_id_list:
        if object_id == "":
          classdef = classrep.classes [classname]
!         result = [classdef.properties[p].fullType for p in propertylist]
        else:
          instance = list.find (object_id)
          result.append (instance.get (propertylist))
--- 173,179 ----
      for object_id in obj_id_list:
        if object_id == "":
          classdef = classrep.classes [classname]
!         result.append ([classdef.properties[p].fullType for p in 
propertylist])
        else:
          instance = list.find (object_id)
          result.append (instance.get (propertylist))




reply via email to

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