def evaluate_conditionals(self, context=None):
        if not context:
            context = self

        if not self.evaluated_.has_key(context):
            # FIXME: figure why the call messes up first parameter
            self.evaluated_[context] = create(
                property.evaluate_conditionals_in_context(self.all(), context))

        return self.evaluated_[context]
Exemple #2
0
    def evaluate_conditionals(self, context=None):
        if not context:
            context = self

        if not self.evaluated_.has_key(context):
            self.evaluated_[context] = create(
                property.evaluate_conditionals_in_context(self.raw_,
                                                          context.raw()))

        return self.evaluated_[context]
Exemple #3
0
    def evaluate_conditionals(self, context=None):
        if not context:
            context = self

        if not self.evaluated_.has_key(context):
            # FIXME: figure why the call messes up first parameter
            self.evaluated_[context] = create(
                property.evaluate_conditionals_in_context(self.all(), context))

        return self.evaluated_[context]
    def evaluate_conditionals(self, context=None):
        if not context:
            context = self

        if not self.evaluated_.has_key(context):
            self.evaluated_[context] = create(
                property.evaluate_conditionals_in_context(
                    self.raw_, context.raw()))

        return self.evaluated_[context]
    def evaluate_conditionals(self, context=None):
        assert isinstance(context, (PropertySet, type(None)))
        if not context:
            context = self

        if context not in self.evaluated_:
            # FIXME: figure why the call messes up first parameter
            self.evaluated_[context] = create(
                property.evaluate_conditionals_in_context(self.all(), context))

        return self.evaluated_[context]
Exemple #6
0
    def evaluate_conditionals(self, context=None):
        assert isinstance(context, (PropertySet, type(None)))
        if not context:
            context = self

        if context not in self.evaluated_:
            # FIXME: figure why the call messes up first parameter
            self.evaluated_[context] = create(
                property.evaluate_conditionals_in_context(self.all(), context))

        return self.evaluated_[context]