/[gnue]/gnue-appserver/src/geasList.py
ViewVC logotype

Diff of /gnue-appserver/src/geasList.py

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.23 by reinhard, Tue Aug 12 17:04:52 2003 UTC revision 1.24 by reinhard, Sun Aug 31 19:23:59 2003 UTC
# Line 49  class geasList: Line 49  class geasList:
49    # ---------------------------------------------------------------------------    # ---------------------------------------------------------------------------
50    
51    def setPrefetch (self, prefetch):    def setPrefetch (self, prefetch):
52      if type (prefetch) == type (""):      self._prefetch = prefetch
       self._prefetch = string.split (prefetch,",")  
     elif type (prefetch) == type ([]):  
       self._prefetch = prefetch  
     else:  
       raise Error,"Wrong format of prefetch information."  
53      # test if all properties in prefetch list are valid and find column names      # test if all properties in prefetch list are valid and find column names
54      self._prefColumns = []      self._prefColumns = []
55      for propertyname in self._prefetch:      for propertyname in self._prefetch:

Legend:
Removed from v.1.23  
changed lines
  Added in v.1.24

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26