~lifeless/storm/bug-620615

« back to all changes in this revision

Viewing changes to storm/properties.py

  • Committer: Gustavo Niemeyer
  • Date: 2008-06-18 23:13:04 UTC
  • mto: (235.2.21 need-for-speed-revenge)
  • mto: This revision was merged to the branch mainline in revision 245.
  • Revision ID: gustavo@niemeyer.net-20080618231304-iww2kewacv2ux78v
Simplify the calling semantics of _when in the expr module, as
suggested by James.

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
34
33
 
35
34
 
36
35
 
335
334
            self._storm_property_registry = PropertyRegistry()
336
335
        elif hasattr(self, "__storm_table__"):
337
336
            self._storm_property_registry.add_class(self)
338
 
 
339
 
 
340
 
psycer.bind(Property)