[Subversion] / Trellis / peak / events / trellis.py  

Diff of /Trellis/peak/events/trellis.py

Parent Directory | Revision Log

version 2578, Thu Oct 2 19:50:56 2008 UTC version 2579, Mon Oct 6 14:09:42 2008 UTC
Line 830 
Line 830 
   
         if func is not None:          if func is not None:
             setattr(self, methodname, func)              setattr(self, methodname, func)
               if getattr(func, '__name__', None)==self.__name__:
                   frame = frame or sys._getframe(2)
                   if frame.f_locals.get(self.__name__) is self:
             return self              return self
               return func
   
         frame = frame or sys._getframe(2)          frame = frame or sys._getframe(2)
         def callback(frame, name, func, locals):          def callback(frame, name, func, locals):
Line 855 
Line 859 
   
   
   
   
   
   
   
 def attr(initially=NO_VALUE, resetting_to=NO_VALUE):  def attr(initially=NO_VALUE, resetting_to=NO_VALUE):
     return CellAttribute.mkattr(initially, resetting_to)      return CellAttribute.mkattr(initially, resetting_to)
   


Generate output suitable for use with a patch program
Legend:
Removed from v.2578  
changed lines
  Added in v.2579

cvs-admin@eby-sarna.com

Powered by ViewCVS 1.0-dev

ViewCVS and CVS Help