Show
Ignore:
Timestamp:
01/14/09 11:12:41 (3 years ago)
Author:
ged
Message:

apply patch from "Secator" to fix py2.6 warnings

Files:
1 modified

Legend:

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

    r422 r443  
    152152 
    153153    def create_properties(self): 
    154         if callable(self.prop): 
     154        if hasattr(self.prop, '__call__'): 
    155155            prop_value = self.prop(self.entity.table.c) 
    156156        else: