commit-gnue
[Top][All Lists]
Advanced

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

gnue-common/src/datasources GConditions.py


From: Jason Cater
Subject: gnue-common/src/datasources GConditions.py
Date: Sat, 26 Jul 2003 19:53:46 -0400

CVSROOT:        /cvsroot/gnue
Module name:    gnue-common
Branch:         
Changes by:     Jason Cater <address@hidden>    03/07/26 19:53:46

Modified files:
        src/datasources: GConditions.py 

Log message:
        applied Julio Cesar Gazquez's patch for typecasted constants

CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/gnue/gnue-common/src/datasources/GConditions.py.diff?tr1=1.25&tr2=1.26&r1=text&r2=text

Patches:
Index: gnue-common/src/datasources/GConditions.py
diff -c gnue-common/src/datasources/GConditions.py:1.25 
gnue-common/src/datasources/GConditions.py:1.26
*** gnue-common/src/datasources/GConditions.py:1.25     Thu Jul 10 19:15:26 2003
--- gnue-common/src/datasources/GConditions.py  Sat Jul 26 19:53:46 2003
***************
*** 323,329 ****
    for key in dict.keys():
      eq = comparison(lastParent)
      GCField(eq, key)
!     GCConst(eq, dict[key])
  
    return cond
  
--- 323,335 ----
    for key in dict.keys():
      eq = comparison(lastParent)
      GCField(eq, key)
! 
! ##    if string.split(str(type(dict[key])),"'")[1] in ('int', 'float'):
!     if type(dict[key]) in (types.IntType, types.FloatType):
!         consttype="number"
!     else:
!         consttype="char"
!     GCConst(eq, dict[key], consttype)
  
    return cond
  




reply via email to

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