Changeset 4308

Show
Ignore:
Timestamp:
07/22/08 17:06:13 (1 month ago)
Author:
ed
Message:

Improved the exception handling when figuring out attProperties and their actual value. The code here now mirrors that in the propertyHelperMixin.py code.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/dabo/ui/uiwx/dPemMixin.py

    r4276 r4308  
    117117                    try: 
    118118                        attVal = eval(val) 
    119                     except (NameError, SyntaxError): 
     119                    except (TypeError, SyntaxError, NameError, AttributeError): 
    120120                        attVal = val 
    121121                properties[prop] = attVal