~jbaker/storm/nose_plugin

« back to all changes in this revision

Viewing changes to storm/properties.py

  • Committer: Gustavo Niemeyer
  • Date: 2008-06-15 21:26:13 UTC
  • mto: (235.2.7 need-for-speed-revenge)
  • mto: This revision was merged to the branch mainline in revision 245.
  • Revision ID: gustavo@niemeyer.net-20080615212613-hxzh4aln13vc4z36
Added optional support for psyco.

Show diffs side-by-side

added added

removed removed

Lines of Context:
30
30
    DecimalVariable, RawStrVariable, UnicodeVariable, DateTimeVariable,
31
31
    DateVariable, TimeVariable, TimeDeltaVariable, PickleVariable,
32
32
    ListVariable, EnumVariable)
 
33
from storm import psycer
33
34
 
34
35
 
35
36
 
334
335
            self._storm_property_registry = PropertyRegistry()
335
336
        elif hasattr(self, "__storm_table__"):
336
337
            self._storm_property_registry.add_class(self)
 
338
 
 
339
 
 
340
psycer.bind(Property)