[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
gnue/common/src/dbdrivers cxoracle/DBdriver.py ...
From: |
Arturas Kriukovas |
Subject: |
gnue/common/src/dbdrivers cxoracle/DBdriver.py ... |
Date: |
Mon, 06 May 2002 12:07:59 -0400 |
CVSROOT: /cvsroot/gnue
Module name: gnue
Changes by: Arturas Kriukovas <address@hidden> 02/05/06 12:07:59
Modified files:
common/src/dbdrivers/cxoracle: DBdriver.py
common/src/dbdrivers/db2: DBdriver.py
common/src/dbdrivers/_dbsig: DBdriver.py
Log message:
i18n changes.
CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/gnue/gnue/common/src/dbdrivers/cxoracle/DBdriver.py.diff?tr1=1.11&tr2=1.12&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/gnue/gnue/common/src/dbdrivers/db2/DBdriver.py.diff?tr1=1.12&tr2=1.13&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/gnue/gnue/common/src/dbdrivers/_dbsig/DBdriver.py.diff?tr1=1.46&tr2=1.47&r1=text&r2=text
Patches:
Index: gnue/common/src/dbdrivers/_dbsig/DBdriver.py
diff -c gnue/common/src/dbdrivers/_dbsig/DBdriver.py:1.46
gnue/common/src/dbdrivers/_dbsig/DBdriver.py:1.47
*** gnue/common/src/dbdrivers/_dbsig/DBdriver.py:1.46 Wed Apr 17 15:09:17 2002
--- gnue/common/src/dbdrivers/_dbsig/DBdriver.py Mon May 6 12:07:59 2002
***************
*** 361,371 ****
otype = "__is%s" % otype
if len(element._children) < self.conditionElements[otype][0]:
raise GConditions.ConditionError, \
! 'Condition element "%s" expects at least %s arguments; found %s'
% \
(otype, self.conditionElements[otype][0],
len(element._children))
if len(element._children) > self.conditionElements[otype][1]:
raise GConditions.ConditionError, \
! 'Condition element "%s" expects at most %s arguments; found %s' %
\
(otype, self.conditionElements[otype][0],
len(element._children))
if self.conditionElements[otype][3] == None:
return self.conditionElements[otype][2] % tuple(element._children)
--- 361,371 ----
otype = "__is%s" % otype
if len(element._children) < self.conditionElements[otype][0]:
raise GConditions.ConditionError, \
! _('Condition element "%s" expects at least %s arguments; found
%s') % \
(otype, self.conditionElements[otype][0],
len(element._children))
if len(element._children) > self.conditionElements[otype][1]:
raise GConditions.ConditionError, \
! _('Condition element "%s" expects at most %s arguments; found
%s') % \
(otype, self.conditionElements[otype][0],
len(element._children))
if self.conditionElements[otype][3] == None:
return self.conditionElements[otype][2] % tuple(element._children)
***************
*** 374,380 ****
(string.join(element._children, self.conditionElements[otype][3]))
else:
raise GConditions.ConditionNotSupported, \
! 'Condition clause "%s" is not supported by this db driver.' % otype
# Code necessary to force the connection into transaction mode...
# this is usually not necessary (MySQL is one of few DBs that must force)
--- 374,380 ----
(string.join(element._children, self.conditionElements[otype][3]))
else:
raise GConditions.ConditionNotSupported, \
! _('Condition clause "%s" is not supported by this db driver.') %
otype
# Code necessary to force the connection into transaction mode...
# this is usually not necessary (MySQL is one of few DBs that must force)
Index: gnue/common/src/dbdrivers/cxoracle/DBdriver.py
diff -c gnue/common/src/dbdrivers/cxoracle/DBdriver.py:1.11
gnue/common/src/dbdrivers/cxoracle/DBdriver.py:1.12
*** gnue/common/src/dbdrivers/cxoracle/DBdriver.py:1.11 Wed Feb 27 01:24:18 2002
--- gnue/common/src/dbdrivers/cxoracle/DBdriver.py Mon May 6 12:07:58 2002
***************
*** 44,50 ****
import cx_Oracle as SIG2api
except ImportError, message:
raise GConnections.AdapterNotInstalled, \
! "Driver not installed: cx_Oracle for Oracle 8.x [%s]" % message
class Oracle_RecordSet(DBSIG_RecordSet):
--- 44,50 ----
import cx_Oracle as SIG2api
except ImportError, message:
raise GConnections.AdapterNotInstalled, \
! _("Driver not installed: cx_Oracle for Oracle 8.x [%s]") % message
class Oracle_RecordSet(DBSIG_RecordSet):
Index: gnue/common/src/dbdrivers/db2/DBdriver.py
diff -c gnue/common/src/dbdrivers/db2/DBdriver.py:1.12
gnue/common/src/dbdrivers/db2/DBdriver.py:1.13
*** gnue/common/src/dbdrivers/db2/DBdriver.py:1.12 Mon Jan 28 19:57:15 2002
--- gnue/common/src/dbdrivers/db2/DBdriver.py Mon May 6 12:07:58 2002
***************
*** 47,53 ****
import DB2
except ImportError, message:
raise GConnections.AdapterNotInstalled, \
! "Driver not installed: db2 for DB2 [%s]" % message
class DB2_RecordSet(DBSIG_RecordSet):
--- 47,53 ----
import DB2
except ImportError, message:
raise GConnections.AdapterNotInstalled, \
! _("Driver not installed: db2 for DB2 [%s]") % message
class DB2_RecordSet(DBSIG_RecordSet):
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- gnue/common/src/dbdrivers cxoracle/DBdriver.py ...,
Arturas Kriukovas <=