Add __contains__ to EvalEnvironment

It is used in _get_on_change_args
This commit is contained in:
Cédric Krier committed 2010-01-21 20:49:11 +01:00
1 parent 6530e1c02f
commit 11606fa023
1 file changed
+3
@@ -42,6 +42,9 @@ class EvalEnvironment(dict):
__repr__ = __str__
def __contains__(self, item):
return item in self.parent.mgroup.mfields
class ModelRecord(SignalEvent):