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, 29 Dec 2002 16:59:31 -0500

CVSROOT:        /cvsroot/gnue
Module name:    gnue
Changes by:     Reinhard Mueller <address@hidden>       02/12/29 16:59:31

Modified files:
        appserver/src  : geasSession.py 

Log message:
        Minor code cleanup.

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

Patches:
Index: gnue/appserver/src/geasSession.py
diff -c gnue/appserver/src/geasSession.py:1.13 
gnue/appserver/src/geasSession.py:1.14
*** gnue/appserver/src/geasSession.py:1.13      Sat Dec 28 08:31:29 2002
--- gnue/appserver/src/geasSession.py   Sun Dec 29 16:59:31 2002
***************
*** 19,25 ****
  # write to the Free Software Foundation, Inc., 59 Temple Place 
  # - Suite 330, Boston, MA 02111-1307, USA.
  #
! # $Id: geasSession.py,v 1.13 2002/12/28 13:31:29 reinhard Exp $
  
  import geasList
  import geasTrigger 
--- 19,25 ----
  # write to the Free Software Foundation, Inc., 59 Temple Place 
  # - Suite 330, Boston, MA 02111-1307, USA.
  #
! # $Id: geasSession.py,v 1.14 2002/12/29 21:59:31 reinhard Exp $
  
  import geasList
  import geasTrigger 
***************
*** 147,163 ****
    # Create a new list of business objects of a given class
    # 
---------------------------------------------------------------------------
  
!   def requestList (self, classname, conditions,
!                    sortorder, propertylist):
!     # TODO move the whole function into the session obj
!     a_list=self.createList(classname)
!     list_id=self._listcount
  
      # TODO: add a config_option to set the name of the ID field in the DB 
table
!     a_list.setPrefetch (["_id_"] + propertylist)
!     a_list.setConditions (conditions)
!     a_list.setSort (sortorder)
!     a_list.populate()
      
      return list_id;
  
--- 147,161 ----
    # Create a new list of business objects of a given class
    # 
---------------------------------------------------------------------------
  
!   def requestList (self, classname, conditions, sortorder, propertylist):
!     list = self.createList (classname)
!     list_id = self._listcount
  
      # TODO: add a config_option to set the name of the ID field in the DB 
table
!     list.setPrefetch (["_id_"] + propertylist)
!     list.setConditions (conditions)
!     list.setSort (sortorder)
!     list.populate ()
      
      return list_id;
  



reply via email to

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