Show
Ignore:
Timestamp:
06/20/08 14:09:41 (6 years ago)
Author:
ged
Message:

First stab at making fields in base class work (see ticket #15).
Needs some cleanup.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • elixir/trunk/elixir/properties.py

    r347 r348  
    116116        # delete the original attribute so that it doesn't interfere with 
    117117        # SQLAlchemy. 
    118         if hasattr(entity, name): 
     118        if name in entity.__dict__: 
    119119            delattr(entity, name) 
    120120