/[opental]/opental/OpenTAL/Context.py
ViewVC logotype

Diff of /opental/OpenTAL/Context.py

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.4 by lalo, Thu Feb 20 10:37:41 2003 UTC revision 1.5 by lalo, Sun Apr 13 13:03:15 2003 UTC
# Line 179  class Context: Line 179  class Context:
179    
180      def evaluate(self, expression):      def evaluate(self, expression):
181          __traceback_info__ = expression          __traceback_info__ = expression
         if type(expression) in (StringType, UnicodeType):  
             expression = self.compile(expression)  
182          return expression(self)          return expression(self)
183    
184      evaluateValue = evaluate      evaluateValue = evaluate

Legend:
Removed from v.1.4  
changed lines
  Added in v.1.5

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26