Parent Directory | Revision Log | Patch
revision 1.79 by reinhard, Thu Oct 16 22:30:20 2003 UTC | revision 1.80 by reinhard, Sat Oct 18 21:59:44 2003 UTC | |
---|---|---|
# | Line 258 class DBSIG_DataObject(GDataObjects.Data | Line 258 class DBSIG_DataObject(GDataObjects.Data |
258 | ||
259 | elif type(value) == types.FloatType: | elif type(value) == types.FloatType: |
260 | if value==int(value): | if value==int(value): |
261 | return "%d" % value | return "'%d'" % value |
262 | else: | else: |
263 | return str(value) | return "'" + str (value) + "'" |
264 | ||
265 | elif type(value) == types.StringType: | elif type(value) == types.StringType: |
266 |
|
savannah-hackers-public@gnu.org | ViewVC Help |
Powered by ViewVC 1.1.26 |