[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUe] A patch
From: |
Julio Cesar Gazquez |
Subject: |
[GNUe] A patch |
Date: |
Tue, 22 Jul 2003 19:36:58 -0300 |
User-agent: |
KMail/1.5.1 |
I finally installed a Python DB driver, so I started playing with GNUe on my
Linux (home sweet home :), and got a patch for the problem I described
before.
--- /usr/local/src/GNUe-Common-0.5.0/src/datasources/GConditions.py
2003-02-17
04:32:48.000000000 -0300
+++ GConditions.py 2003-07-22 19:29:27.000000000 -0300
@@ -321,7 +321,12 @@
for key in dict.keys():
eq = comparison(lastParent)
GCField(eq, key)
- GCConst(eq, dict[key])
+
+ if string.split(str(type(dict[key])),"'")[1] in ('int', 'float'):
+ consttype="number"
+ else:
+ consttype="char"
+ GCConst(eq, dict[key], consttype)
return cond
--
Saludos
Julio César Gázquez
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUe] A patch,
Julio Cesar Gazquez <=