Changeset 976 for pykota/trunk/pykota/storages/postgresql.py
- Timestamp:
- 04/30/03 15:36:40 (21 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
pykota/trunk/pykota/storages/postgresql.py
r967 r976 21 21 # 22 22 # $Log$ 23 # Revision 1.10 2003/04/30 13:36:40 jalet 24 # Stupid accounting method was added. 25 # 23 26 # Revision 1.9 2003/04/27 08:04:15 jalet 24 27 # LDAP storage backend's skeleton added. DOESN'T WORK. … … 111 114 def doQuote(self, field) : 112 115 """Quotes a field for use as a string in SQL queries.""" 113 if type(field) == type(0) : # TODO : do something safer116 if type(field) in (type(0), type(0.0)) : # TODO : do something safer 114 117 typ = "decimal" 115 118 else :