Show
Ignore:
Timestamp:
04/30/03 15:36:40 (21 years ago)
Author:
jalet
Message:

Stupid accounting method was added.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • pykota/trunk/pykota/storages/postgresql.py

    r967 r976  
    2121# 
    2222# $Log$ 
     23# Revision 1.10  2003/04/30 13:36:40  jalet 
     24# Stupid accounting method was added. 
     25# 
    2326# Revision 1.9  2003/04/27 08:04:15  jalet 
    2427# LDAP storage backend's skeleton added. DOESN'T WORK. 
     
    111114    def doQuote(self, field) : 
    112115        """Quotes a field for use as a string in SQL queries.""" 
    113         if type(field) == type(0) : # TODO : do something safer 
     116        if type(field) in (type(0), type(0.0)) : # TODO : do something safer 
    114117            typ = "decimal" 
    115118        else :