commit-gnue
[Top][All Lists]
Advanced

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

gnue/common/src/datasources/drivers appserver/a...


From: Jason Cater
Subject: gnue/common/src/datasources/drivers appserver/a...
Date: Wed, 04 Jun 2003 19:23:35 -0400

CVSROOT:        /cvsroot/gnue
Module name:    gnue
Changes by:     Jason Cater <address@hidden>    03/06/04 19:23:35

Modified files:
        common/src/datasources/drivers/appserver/appserver: Driver.py 
        common/src/datasources/drivers/db2/db2: Driver.py 
        common/src/datasources/drivers/dbf/dbf: Driver.py 
        common/src/datasources/drivers/gadfly/gadfly: Driver.py 
        common/src/datasources/drivers/informix/informix: Driver.py 
        common/src/datasources/drivers/ingres/ingres: Driver.py 
        common/src/datasources/drivers/interbase/interbase: Driver.py 
        common/src/datasources/drivers/ldap: Driver.py 
        common/src/datasources/drivers/mysql/mysql: Driver.py 
        common/src/datasources/drivers/odbc/mxodbc: Driver.py 
        common/src/datasources/drivers/odbc/wodbc: Driver.py 
        common/src/datasources/drivers/oracle/Base: Driver.py 
        common/src/datasources/drivers/postgresql/Base: Driver.py 
        common/src/datasources/drivers/sapdb/sapdb: Driver.py 
        common/src/datasources/drivers/special/configfile: Driver.py 
        common/src/datasources/drivers/sqlite/sqlite: Driver.py 
        common/src/datasources/drivers/sqlrelay/sqlrelay: Driver.py 
        common/src/datasources/drivers/sybase/sybase: Driver.py 

Log message:
        pluralized the schema type names (table->tables, view->views, etc) and 
converted to i18n notation [ _() ]

CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/gnue/gnue/common/src/datasources/drivers/appserver/appserver/Driver.py.diff?tr1=1.14&tr2=1.15&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/gnue/gnue/common/src/datasources/drivers/db2/db2/Driver.py.diff?tr1=1.20&tr2=1.21&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/gnue/gnue/common/src/datasources/drivers/dbf/dbf/Driver.py.diff?tr1=1.7&tr2=1.8&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/gnue/gnue/common/src/datasources/drivers/gadfly/gadfly/Driver.py.diff?tr1=1.9&tr2=1.10&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/gnue/gnue/common/src/datasources/drivers/informix/informix/Driver.py.diff?tr1=1.13&tr2=1.14&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/gnue/gnue/common/src/datasources/drivers/ingres/ingres/Driver.py.diff?tr1=1.14&tr2=1.15&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/gnue/gnue/common/src/datasources/drivers/interbase/interbase/Driver.py.diff?tr1=1.18&tr2=1.19&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/gnue/gnue/common/src/datasources/drivers/ldap/Driver.py.diff?tr1=1.3&tr2=1.4&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/gnue/gnue/common/src/datasources/drivers/mysql/mysql/Driver.py.diff?tr1=1.3&tr2=1.4&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/gnue/gnue/common/src/datasources/drivers/odbc/mxodbc/Driver.py.diff?tr1=1.13&tr2=1.14&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/gnue/gnue/common/src/datasources/drivers/odbc/wodbc/Driver.py.diff?tr1=1.21&tr2=1.22&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/gnue/gnue/common/src/datasources/drivers/oracle/Base/Driver.py.diff?tr1=1.5&tr2=1.6&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/gnue/gnue/common/src/datasources/drivers/postgresql/Base/Driver.py.diff?tr1=1.32&tr2=1.33&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/gnue/gnue/common/src/datasources/drivers/sapdb/sapdb/Driver.py.diff?tr1=1.2&tr2=1.3&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/gnue/gnue/common/src/datasources/drivers/special/configfile/Driver.py.diff?tr1=1.6&tr2=1.7&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/gnue/gnue/common/src/datasources/drivers/sqlite/sqlite/Driver.py.diff?tr1=1.10&tr2=1.11&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/gnue/gnue/common/src/datasources/drivers/sqlrelay/sqlrelay/Driver.py.diff?tr1=1.12&tr2=1.13&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/gnue/gnue/common/src/datasources/drivers/sybase/sybase/Driver.py.diff?tr1=1.14&tr2=1.15&r1=text&r2=text

Patches:
Index: gnue/common/src/datasources/drivers/appserver/appserver/Driver.py
diff -c gnue/common/src/datasources/drivers/appserver/appserver/Driver.py:1.14 
gnue/common/src/datasources/drivers/appserver/appserver/Driver.py:1.15
*** gnue/common/src/datasources/drivers/appserver/appserver/Driver.py:1.14      
Fri May 16 11:17:57 2003
--- gnue/common/src/datasources/drivers/appserver/appserver/Driver.py   Wed Jun 
 4 19:23:34 2003
***************
*** 54,60 ****
                 'transport': connectData['transport']}
      
      self._server = GComm.attach(connectData['rpctype'],params)
!     
      GDebug.printMesg(3,"Setup the link to the session manager")
      self._sm = self._server.request("Session")
     
--- 54,60 ----
                 'transport': connectData['transport']}
      
      self._server = GComm.attach(connectData['rpctype'],params)
! 
      GDebug.printMesg(3,"Setup the link to the session manager")
      self._sm = self._server.request("Session")
     
***************
*** 88,94 ****
    def commit(self,classname):
      self._updateCursor.execute(classname)
      self._sm.commit(self._sess_id)
!   
    def rollback(self,classname):
      self._updateCursor.revert(classname)
      self._sm.rollback(self._sess_id)
--- 88,94 ----
    def commit(self,classname):
      self._updateCursor.execute(classname)
      self._sm.commit(self._sess_id)
! 
    def rollback(self,classname):
      self._updateCursor.revert(classname)
      self._sm.rollback(self._sess_id)
***************
*** 178,184 ****
        
        self._updateList[classname]=[]
        self._updateKeyList[classname]=[]
!       
      #except:
      #  return
      
--- 178,184 ----
        
        self._updateList[classname]=[]
        self._updateKeyList[classname]=[]
! 
      #except:
      #  return
      
***************
*** 208,214 ****
        modifiedFields={}
        for field in (self._modifiedFlags.keys()):
          modifiedFields[field]=self._fields[field]
!         
        self._parent._update_cursor.update(self._parent._dataObject.table,
                                           self._fields["__id__"], 
modifiedFields)
              
--- 208,214 ----
        modifiedFields={}
        for field in (self._modifiedFlags.keys()):
          modifiedFields[field]=self._fields[field]
! 
        self._parent._update_cursor.update(self._parent._dataObject.table,
                                           self._fields["__id__"], 
modifiedFields)
              
***************
*** 369,375 ****
  ### TODO add introspection support to geas
  
    def getSchemaTypes(self):
!       return [('object','Object',1)]
  
    # Return a list of Schema objects
    def getSchemaList(self, type=None):
--- 369,375 ----
  ### TODO add introspection support to geas
  
    def getSchemaTypes(self):
!       return [('object',_('Objects'),1)]
  
    # Return a list of Schema objects
    def getSchemaList(self, type=None):
Index: gnue/common/src/datasources/drivers/db2/db2/Driver.py
diff -c gnue/common/src/datasources/drivers/db2/db2/Driver.py:1.20 
gnue/common/src/datasources/drivers/db2/db2/Driver.py:1.21
*** gnue/common/src/datasources/drivers/db2/db2/Driver.py:1.20  Fri May 16 
11:17:57 2003
--- gnue/common/src/datasources/drivers/db2/db2/Driver.py       Wed Jun  4 
19:23:34 2003
***************
*** 90,99 ****
  
    # Return a list of the types of Schema objects this driver provides
    def getSchemaTypes(self):
!     return [ ('table',    'Table',1),
!              ('view',     'View', 1),
!              ('alias',    'Alias',1),
!              ('summary',  'Summary Table',1) ]
  
  
    # Return a list of Schema objects
--- 90,99 ----
  
    # Return a list of the types of Schema objects this driver provides
    def getSchemaTypes(self):
!     return [ ('table',    _('Tables'),1),
!              ('view',     _('Views'), 1),
!              ('alias',    _('Aliases'),1),
!              ('summary',  _('Summary Tables'),1) ]
  
  
    # Return a list of Schema objects
Index: gnue/common/src/datasources/drivers/dbf/dbf/Driver.py
diff -c gnue/common/src/datasources/drivers/dbf/dbf/Driver.py:1.7 
gnue/common/src/datasources/drivers/dbf/dbf/Driver.py:1.8
*** gnue/common/src/datasources/drivers/dbf/dbf/Driver.py:1.7   Tue Feb 18 
09:59:24 2003
--- gnue/common/src/datasources/drivers/dbf/dbf/Driver.py       Wed Jun  4 
19:23:34 2003
***************
*** 77,83 ****
  
    # Return a list of the types of Schema objects this driver provides
    def getSchemaTypes(self):
!     return [('table','Table',1)]
  
    # Return a list of Schema objects
    def getSchemaList(self, type=None):
--- 77,83 ----
  
    # Return a list of the types of Schema objects this driver provides
    def getSchemaTypes(self):
!     return [('table',_('Tables'),1)]
  
    # Return a list of Schema objects
    def getSchemaList(self, type=None):
Index: gnue/common/src/datasources/drivers/gadfly/gadfly/Driver.py
diff -c gnue/common/src/datasources/drivers/gadfly/gadfly/Driver.py:1.9 
gnue/common/src/datasources/drivers/gadfly/gadfly/Driver.py:1.10
*** gnue/common/src/datasources/drivers/gadfly/gadfly/Driver.py:1.9     Fri May 
16 11:17:57 2003
--- gnue/common/src/datasources/drivers/gadfly/gadfly/Driver.py Wed Jun  4 
19:23:34 2003
***************
*** 163,169 ****
  
    # Return a list of the types of Schema objects this driver provides
    def getSchemaTypes(self):
!     return [('view','View',1), ('table','Table',1)]
  
    # Return a list of Schema objects
    def getSchemaList(self, type=None):
--- 163,170 ----
  
    # Return a list of the types of Schema objects this driver provides
    def getSchemaTypes(self):
!     return [('view',_('Views'),1),
!             ('table',_('Tables'),1)]
  
    # Return a list of Schema objects
    def getSchemaList(self, type=None):
Index: gnue/common/src/datasources/drivers/informix/informix/Driver.py
diff -c gnue/common/src/datasources/drivers/informix/informix/Driver.py:1.13 
gnue/common/src/datasources/drivers/informix/informix/Driver.py:1.14
*** gnue/common/src/datasources/drivers/informix/informix/Driver.py:1.13        
Fri May 16 11:17:57 2003
--- gnue/common/src/datasources/drivers/informix/informix/Driver.py     Wed Jun 
 4 19:23:34 2003
***************
*** 98,104 ****
  
    # Return a list of the types of Schema objects this driver provides
    def getSchemaTypes(self):
!     return [('view','View',1), ('table','Table',1)]
  
    # Return a list of Schema objects
    def getSchemaList(self, type=None):
--- 98,105 ----
  
    # Return a list of the types of Schema objects this driver provides
    def getSchemaTypes(self):
!     return [('view',_('Views'),1),
!             ('table',_('Tables'),1)]
  
    # Return a list of Schema objects
    def getSchemaList(self, type=None):
Index: gnue/common/src/datasources/drivers/ingres/ingres/Driver.py
diff -c gnue/common/src/datasources/drivers/ingres/ingres/Driver.py:1.14 
gnue/common/src/datasources/drivers/ingres/ingres/Driver.py:1.15
*** gnue/common/src/datasources/drivers/ingres/ingres/Driver.py:1.14    Fri May 
16 11:17:57 2003
--- gnue/common/src/datasources/drivers/ingres/ingres/Driver.py Wed Jun  4 
19:23:34 2003
***************
*** 91,97 ****
  
    # Return a list of the types of Schema objects this driver provides
    def getSchemaTypes(self):
!     return [('view','View',1), ('table','Table',1)]
  
    # Return a list of Schema objects
    def getSchemaList(self, type=None):
--- 91,98 ----
  
    # Return a list of the types of Schema objects this driver provides
    def getSchemaTypes(self):
!     return [('view',_('Views'),1),
!             ('table',_('Tables'),1)]
  
    # Return a list of Schema objects
    def getSchemaList(self, type=None):
Index: gnue/common/src/datasources/drivers/interbase/interbase/Driver.py
diff -c gnue/common/src/datasources/drivers/interbase/interbase/Driver.py:1.18 
gnue/common/src/datasources/drivers/interbase/interbase/Driver.py:1.19
*** gnue/common/src/datasources/drivers/interbase/interbase/Driver.py:1.18      
Sun May  4 18:18:35 2003
--- gnue/common/src/datasources/drivers/interbase/interbase/Driver.py   Wed Jun 
 4 19:23:34 2003
***************
*** 96,102 ****
  
    # Return a list of the types of Schema objects this driver provides
    def getSchemaTypes(self):
!     return [('view','View',1), ('table','Table',1)]
  
    # Return a list of Schema objects
    def getSchemaList(self, type=None):
--- 96,103 ----
  
    # Return a list of the types of Schema objects this driver provides
    def getSchemaTypes(self):
!     return [('view',_('Views'),1),
!             ('table',_('Tables'),1)]
  
    # Return a list of Schema objects
    def getSchemaList(self, type=None):
Index: gnue/common/src/datasources/drivers/ldap/Driver.py
diff -c gnue/common/src/datasources/drivers/ldap/Driver.py:1.3 
gnue/common/src/datasources/drivers/ldap/Driver.py:1.4
*** gnue/common/src/datasources/drivers/ldap/Driver.py:1.3      Fri May 16 
11:17:57 2003
--- gnue/common/src/datasources/drivers/ldap/Driver.py  Wed Jun  4 19:23:34 2003
***************
*** 678,684 ****
  
  
    def getSchemaTypes(self):
!       return [('object','Object',1)]
  
    # Return a list of Schema objects
    def getSchemaList(self, type=None):
--- 678,684 ----
  
  
    def getSchemaTypes(self):
!       return [('object',_('Objects'),1)]
  
    # Return a list of Schema objects
    def getSchemaList(self, type=None):
***************
*** 720,723 ****
      
  
    def ldapsearch(self,searchdn,filter):
!     return self.__connection.triggerSearch(searchdn,filter)
\ No newline at end of file
--- 720,723 ----
      
  
    def ldapsearch(self,searchdn,filter):
!     return self.__connection.triggerSearch(searchdn,filter)
Index: gnue/common/src/datasources/drivers/mysql/mysql/Driver.py
diff -c gnue/common/src/datasources/drivers/mysql/mysql/Driver.py:1.3 
gnue/common/src/datasources/drivers/mysql/mysql/Driver.py:1.4
*** gnue/common/src/datasources/drivers/mysql/mysql/Driver.py:1.3       Fri May 
16 11:17:57 2003
--- gnue/common/src/datasources/drivers/mysql/mysql/Driver.py   Wed Jun  4 
19:23:34 2003
***************
*** 144,150 ****
  
    # Return a list of the types of Schema objects this driver provides
    def getSchemaTypes(self):
!     return [('table','Table',1)]
  
    # Return a list of Schema objects
    def getSchemaList(self, type=None):
--- 144,150 ----
  
    # Return a list of the types of Schema objects this driver provides
    def getSchemaTypes(self):
!     return [('table',_('Tables'),1)]
  
    # Return a list of Schema objects
    def getSchemaList(self, type=None):
Index: gnue/common/src/datasources/drivers/odbc/mxodbc/Driver.py
diff -c gnue/common/src/datasources/drivers/odbc/mxodbc/Driver.py:1.13 
gnue/common/src/datasources/drivers/odbc/mxodbc/Driver.py:1.14
*** gnue/common/src/datasources/drivers/odbc/mxodbc/Driver.py:1.13      Fri May 
16 11:17:58 2003
--- gnue/common/src/datasources/drivers/odbc/mxodbc/Driver.py   Wed Jun  4 
19:23:34 2003
***************
*** 105,111 ****
  
    # Return a list of the types of Schema objects this driver provides
    def getSchemaTypes(self):
!     return [('table','Table',1)]
  
    # Return a list of Schema objects
    def getSchemaList(self, type=None):
--- 105,111 ----
  
    # Return a list of the types of Schema objects this driver provides
    def getSchemaTypes(self):
!     return [('table',_('Tables'),1)]
  
    # Return a list of Schema objects
    def getSchemaList(self, type=None):
Index: gnue/common/src/datasources/drivers/odbc/wodbc/Driver.py
diff -c gnue/common/src/datasources/drivers/odbc/wodbc/Driver.py:1.21 
gnue/common/src/datasources/drivers/odbc/wodbc/Driver.py:1.22
*** gnue/common/src/datasources/drivers/odbc/wodbc/Driver.py:1.21       Tue May 
27 06:06:11 2003
--- gnue/common/src/datasources/drivers/odbc/wodbc/Driver.py    Wed Jun  4 
19:23:34 2003
***************
*** 258,264 ****
  
      GDebug.printMesg(1,"ODBC database driver initializing")
      self._DatabaseError = odbc.error
! 
      try:
        service = connectData['service']
      except KeyError:
--- 258,264 ----
  
      GDebug.printMesg(1,"ODBC database driver initializing")
      self._DatabaseError = odbc.error
! 
      try:
        service = connectData['service']
      except KeyError:
***************
*** 269,277 ****
                     service,
                     connectData['_username'],
                     connectData['_password']))
! 
      except dbi.opError, value:
!       raise GDataObjects.LoginError, value
  
      except self._DatabaseError, value:
        raise GDataObjects.LoginError, value
--- 269,277 ----
                     service,
                     connectData['_username'],
                     connectData['_password']))
! 
      except dbi.opError, value:
!       raise GDataObjects.LoginError, value
  
      except self._DatabaseError, value:
        raise GDataObjects.LoginError, value
***************
*** 287,293 ****
  
    # Return a list of the types of Schema objects this driver provides
    def getSchemaTypes(self):
!     return None # [('table','Table',1)]
  
    # Return a list of Schema objects
    def getSchemaList(self, type=None):
--- 287,293 ----
  
    # Return a list of the types of Schema objects this driver provides
    def getSchemaTypes(self):
!     return None # [('table',_('Tables'),1)]
  
    # Return a list of Schema objects
    def getSchemaList(self, type=None):
***************
*** 304,310 ****
      try:
        cursor = self._dataConnection.cursor()
        cursor.execute(self._buildQuery(conditions))
! 
      except dbi.progError, err:
        raise GDataObjects.ConnectionError, err
  
--- 304,310 ----
      try:
        cursor = self._dataConnection.cursor()
        cursor.execute(self._buildQuery(conditions))
! 
      except dbi.progError, err:
        raise GDataObjects.ConnectionError, err
  
Index: gnue/common/src/datasources/drivers/oracle/Base/Driver.py
diff -c gnue/common/src/datasources/drivers/oracle/Base/Driver.py:1.5 
gnue/common/src/datasources/drivers/oracle/Base/Driver.py:1.6
*** gnue/common/src/datasources/drivers/oracle/Base/Driver.py:1.5       Mon Feb 
17 02:32:49 2003
--- gnue/common/src/datasources/drivers/oracle/Base/Driver.py   Wed Jun  4 
19:23:34 2003
***************
*** 50,61 ****
  
    # Return a list of the types of Schema objects this driver provides
    def getSchemaTypes(self):
!     return [ ('user_table',   'User Table',1),
!              ('user_view',    'User View',1),
!              ('user_synonym', 'User Synonym',1),
!              ('all_table',    'System Table',1),
!              ('all_view',     'System View',1),
!              ('all_synonym',  'System Synonym',1) ]
  
    # Return a list of Schema objects
    def getSchemaList(self, type=None):
--- 50,61 ----
  
    # Return a list of the types of Schema objects this driver provides
    def getSchemaTypes(self):
!     return [ ('user_table',   _('User Tables'),1),
!              ('user_view',    _('User Views'),1),
!              ('user_synonym', _('User Synonyms'),1),
!              ('all_table',    _('System Tables'),1),
!              ('all_view',     _('System Views'),1),
!              ('all_synonym',  _('System Synonyms'),1) ]
  
    # Return a list of Schema objects
    def getSchemaList(self, type=None):
Index: gnue/common/src/datasources/drivers/postgresql/Base/Driver.py
diff -c gnue/common/src/datasources/drivers/postgresql/Base/Driver.py:1.32 
gnue/common/src/datasources/drivers/postgresql/Base/Driver.py:1.33
*** gnue/common/src/datasources/drivers/postgresql/Base/Driver.py:1.32  Fri May 
16 11:17:58 2003
--- gnue/common/src/datasources/drivers/postgresql/Base/Driver.py       Wed Jun 
 4 19:23:35 2003
***************
*** 160,166 ****
  
    # Return a list of the types of Schema objects this driver provides
    def getSchemaTypes(self):
!     return [('view','View',1), ('table','Table',1)]
  
    # Return a list of Schema objects
    def getSchemaList(self, type=None):
--- 160,167 ----
  
    # Return a list of the types of Schema objects this driver provides
    def getSchemaTypes(self):
!     return [('view',_('Views'),1),
!             ('table',_('Tables'),1)]
  
    # Return a list of Schema objects
    def getSchemaList(self, type=None):
Index: gnue/common/src/datasources/drivers/sapdb/sapdb/Driver.py
diff -c gnue/common/src/datasources/drivers/sapdb/sapdb/Driver.py:1.2 
gnue/common/src/datasources/drivers/sapdb/sapdb/Driver.py:1.3
*** gnue/common/src/datasources/drivers/sapdb/sapdb/Driver.py:1.2       Fri May 
16 11:17:58 2003
--- gnue/common/src/datasources/drivers/sapdb/sapdb/Driver.py   Wed Jun  4 
19:23:35 2003
***************
*** 123,132 ****
  
    # Return a list of the types of Schema objects this driver provides
    def getSchemaTypes(self):
!     return [ ('table',    'Table',1),
!              ('view',     'View', 1),
!              ('synonym',  'Synonym',1),
!              ('result',   'Result Table',1) ]
  
  
    # Return a list of Schema objects
--- 123,132 ----
  
    # Return a list of the types of Schema objects this driver provides
    def getSchemaTypes(self):
!     return [ ('table',    _('Tables'),1),
!              ('view',     _('Views'), 1),
!              ('synonym',  _('Synonyms'),1),
!              ('result',   _('Result Table'),1) ]
  
  
    # Return a list of Schema objects
Index: gnue/common/src/datasources/drivers/special/configfile/Driver.py
diff -c gnue/common/src/datasources/drivers/special/configfile/Driver.py:1.6 
gnue/common/src/datasources/drivers/special/configfile/Driver.py:1.7
*** gnue/common/src/datasources/drivers/special/configfile/Driver.py:1.6        
Mon Feb 17 02:32:49 2003
--- gnue/common/src/datasources/drivers/special/configfile/Driver.py    Wed Jun 
 4 19:23:35 2003
***************
*** 336,342 ****
  ### TODO add introspection support to geas
  
    def getSchemaTypes(self):
!       return [('object','Object',1)]
  
    # Return a list of Schema objects
    def getSchemaList(self, type=None):
--- 336,342 ----
  ### TODO add introspection support to geas
  
    def getSchemaTypes(self):
!       return [('object',_('Objects'),1)]
  
    # Return a list of Schema objects
    def getSchemaList(self, type=None):
Index: gnue/common/src/datasources/drivers/sqlite/sqlite/Driver.py
diff -c gnue/common/src/datasources/drivers/sqlite/sqlite/Driver.py:1.10 
gnue/common/src/datasources/drivers/sqlite/sqlite/Driver.py:1.11
*** gnue/common/src/datasources/drivers/sqlite/sqlite/Driver.py:1.10    Fri May 
16 11:17:58 2003
--- gnue/common/src/datasources/drivers/sqlite/sqlite/Driver.py Wed Jun  4 
19:23:35 2003
***************
*** 93,99 ****
  
    # Return a list of the types of Schema objects this driver provides
    def getSchemaTypes(self):
!     return [('view','View',1), ('table','Table',1)]
  
    # Return a list of Schema objects
    def getSchemaList(self, type=None):
--- 93,100 ----
  
    # Return a list of the types of Schema objects this driver provides
    def getSchemaTypes(self):
!     return [('view',_('Views'),1),
!             ('table',_('Table'),1)]
  
    # Return a list of Schema objects
    def getSchemaList(self, type=None):
Index: gnue/common/src/datasources/drivers/sqlrelay/sqlrelay/Driver.py
diff -c gnue/common/src/datasources/drivers/sqlrelay/sqlrelay/Driver.py:1.12 
gnue/common/src/datasources/drivers/sqlrelay/sqlrelay/Driver.py:1.13
*** gnue/common/src/datasources/drivers/sqlrelay/sqlrelay/Driver.py:1.12        
Fri May 16 11:17:58 2003
--- gnue/common/src/datasources/drivers/sqlrelay/sqlrelay/Driver.py     Wed Jun 
 4 19:23:35 2003
***************
*** 101,107 ****
  
    # Return a list of the types of Schema objects this driver provides
    def getSchemaTypes(self):
!     return [('view','View',1), ('table','Table',1)]
  
    # Return a list of Schema objects
    def getSchemaList(self, type=None):
--- 101,108 ----
  
    # Return a list of the types of Schema objects this driver provides
    def getSchemaTypes(self):
!     return [('view',_('Views'),1),
!             ('table',_('Tables'),1)]
  
    # Return a list of Schema objects
    def getSchemaList(self, type=None):
Index: gnue/common/src/datasources/drivers/sybase/sybase/Driver.py
diff -c gnue/common/src/datasources/drivers/sybase/sybase/Driver.py:1.14 
gnue/common/src/datasources/drivers/sybase/sybase/Driver.py:1.15
*** gnue/common/src/datasources/drivers/sybase/sybase/Driver.py:1.14    Fri May 
16 11:17:58 2003
--- gnue/common/src/datasources/drivers/sybase/sybase/Driver.py Wed Jun  4 
19:23:35 2003
***************
*** 100,106 ****
  
    # Return a list of the types of Schema objects this driver provides
    def getSchemaTypes(self):
!     return [('view','View',1), ('table','Table',1)]
  
    # Return a list of Schema objects
    def getSchemaList(self, type=None):
--- 100,107 ----
  
    # Return a list of the types of Schema objects this driver provides
    def getSchemaTypes(self):
!     return [('view',_('Views'),1),
!             ('table',_('Tables'),1)]
  
    # Return a list of Schema objects
    def getSchemaList(self, type=None):




reply via email to

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