Exemple #1
0
    def convert_to_value(self, representation):
        from zeobuilder.expressions import Expression as E

        try:
            return E(TextViewMixin.convert_to_value(self, representation))
        except SyntaxError:
            raise ValueError("There is a syntax error in the expression.")
Exemple #2
0
 def convert_to_value(self, representation):
     from zeobuilder.expressions import Expression as E
     try:
         return E(TextViewMixin.convert_to_value(self, representation))
     except SyntaxError:
         raise ValueError("There is a syntax error in the expression.")
Exemple #3
0
 def convert_to_value(self, representation):
     return TextViewMixin.convert_to_value(self, representation)
Exemple #4
0
 def convert_to_value(self, representation):
     return TextViewMixin.convert_to_value(self, representation)