SF.net SVN: fclient: [251] trunk/sandbox/fcp/fcp_lib/events.py
Status: Pre-Alpha
Brought to you by:
jurner
|
From: <ju...@us...> - 2008-02-26 09:08:52
|
Revision: 251
http://fclient.svn.sourceforge.net/fclient/?rev=251&view=rev
Author: jurner
Date: 2008-02-26 01:08:58 -0800 (Tue, 26 Feb 2008)
Log Message:
-----------
beautification
Modified Paths:
--------------
trunk/sandbox/fcp/fcp_lib/events.py
Modified: trunk/sandbox/fcp/fcp_lib/events.py
===================================================================
--- trunk/sandbox/fcp/fcp_lib/events.py 2008-02-26 09:08:23 UTC (rev 250)
+++ trunk/sandbox/fcp/fcp_lib/events.py 2008-02-26 09:08:58 UTC (rev 251)
@@ -109,8 +109,8 @@
@note: all listeners will be called with the event a first parameter, followed
by optional args and kwargs
"""
- for o in self.observers:
- o(self, *args, **kwargs)
+ for observer in self.observers:
+ observer(self, *args, **kwargs)
def __contains__(self, observer):
"""Checks if an observer is aleady registered
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|