Changeset 575

Show
Ignore:
Timestamp:
07/14/08 02:34:04 (5 months ago)
Author:
athomas
Message:

Remove stuff.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • cly/trunk/cly/builder.py

    r574 r575  
    11221122        if context is not None: 
    11231123            context.update_locals(locals) 
    1124         try: 
    1125             return eval(attr, locals) 
    1126         except Exception, e: 
    1127             raise EvaluationError('%r occurred while evaluating %r' % (e, attr)) 
     1124        return eval(attr, locals) 
    11281125    return attr_evaluator 
    11291126 
  • cly/trunk/cly/exceptions.py

    r574 r575  
    7979 
    8080 
    81 class EvaluationError(Error): 
    82     """An error ocurred while evaluating a Python expression.""" 
    83  
    84  
    8581if __name__ == '__main__': 
    8682    import doctest