Changeset 4040

Show
Ignore:
Timestamp:
04/15/08 16:16:04 (3 months ago)
Author:
paul
Message:

Commented out the raising of ValueError? in getDataTypeForField(),
as I was getting lots of Dabo Error Log entries for virtual fields.

This matches the doc which says the function will return None if
there isn't any DataStructure? information for the field.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/dabo/biz/dBizobj.py

    r4031 r4040  
    14521452                    if rec[0] == fld][0] 
    14531453        except IndexError: 
    1454             raise ValueError, _("Field '%s' does not exist in the DataStructure") % fld 
     1454            return None 
     1455            #raise ValueError, _("Field '%s' does not exist in the DataStructure") % fld 
    14551456        return dabo.db.getPythonType(fldInfo) 
    14561457