commit-gnue
[Top][All Lists]
Advanced

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

gnue-common/src/datasources/drivers/DBSIG2 Driv...


From: Reinhard Mueller
Subject: gnue-common/src/datasources/drivers/DBSIG2 Driv...
Date: Thu, 16 Oct 2003 18:27:28 -0400

CVSROOT:        /cvsroot/gnue
Module name:    gnue-common
Branch:         
Changes by:     Reinhard Mueller <address@hidden>       03/10/16 18:27:28

Modified files:
        src/datasources/drivers/DBSIG2: Driver.py 

Log message:
        Quote integer values to make boolean values (returned as 0 or 1) work 
again.

CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/gnue/gnue-common/src/datasources/drivers/DBSIG2/Driver.py.diff?tr1=1.77&tr2=1.78&r1=text&r2=text

Patches:
Index: gnue-common/src/datasources/drivers/DBSIG2/Driver.py
diff -c gnue-common/src/datasources/drivers/DBSIG2/Driver.py:1.77 
gnue-common/src/datasources/drivers/DBSIG2/Driver.py:1.78
*** gnue-common/src/datasources/drivers/DBSIG2/Driver.py:1.77   Sun Oct 12 
15:43:57 2003
--- gnue-common/src/datasources/drivers/DBSIG2/Driver.py        Thu Oct 16 
18:27:27 2003
***************
*** 252,260 ****
--- 252,262 ----
  
        elif type(value) == types.IntType:
          return str(value)
+         return "'%d'" % value
  
        elif type(value) == types.LongType:
          return str(value)
+         return "'%d'" % value
  
        elif type(value) == types.FloatType:
          if value==int(value):




reply via email to

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