Show
Ignore:
Timestamp:
12/19/07 12:17:40 (7 years ago)
Author:
ged
Message:

minor rename to make event processing code more readable

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • elixir/trunk/elixir/entity.py

    r284 r285  
    315315        # create a list of callbacks for each event 
    316316        methods = {} 
    317         for name, item in self.entity.__dict__.items(): 
    318             if hasattr(item, '_elixir_events'): 
    319                 for event in item._elixir_events: 
     317        for name, method in self.entity.__dict__.items(): 
     318            if hasattr(method, '_elixir_events'): 
     319                for event in method._elixir_events: 
    320320                    event_methods = methods.setdefault(event, []) 
    321                     event_methods.append(item) 
     321                    event_methods.append(method) 
    322322        if not methods: 
    323323            return