commit-gnue
[Top][All Lists]
Advanced

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

gnue/gnue-common/gnue/common GDataSource.py


From: Jason Cater
Subject: gnue/gnue-common/gnue/common GDataSource.py
Date: Fri, 18 May 2001 08:51:52 -0700

CVSROOT:        /home/cvs
Module name:    gnue
Changes by:     Jason Cater <address@hidden>    01/05/18 08:51:52

Modified files:
        gnue-common/gnue/common: GDataSource.py 

Log message:
        Added xmlElements to GDataSource and to client parsers to clients will 
have consistent set of DataSource options

CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/gnue/gnue-common/gnue/common/GDataSource.py.diff?cvsroot=OldCVS&tr1=1.2&tr2=1.3&r1=text&r2=text

Patches:
Index: gnue/gnue-common/gnue/common/GDataSource.py
diff -u gnue/gnue-common/gnue/common/GDataSource.py:1.2 
gnue/gnue-common/gnue/common/GDataSource.py:1.3
--- gnue/gnue-common/gnue/common/GDataSource.py:1.2     Thu May 17 11:59:32 2001
+++ gnue/gnue-common/gnue/common/GDataSource.py Fri May 18 08:51:52 2001
@@ -76,6 +76,12 @@
     return self._dataObject
 
 
+
+
+class GSql(GObjects.GObj): 
+  def __init__(self, parent=None): 
+     GObjects.GObj(self, parent, type="GDSql") 
+
 ######
 # 
 # Used by client DataSources to automatically pull supported xml tags
@@ -89,4 +95,7 @@
                   'cache':       (0, 0, int,  None),
                   'prequery':    (0, 0, bool, 0),
                   'order_by':    (0, 0, char, None) }
+
+xmlElements = {
+      'sql':       (GSql,   {                                  }, 1) }
 



reply via email to

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