commit-gnue
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[gnue] r8931 - trunk/gnue-common/src/events


From: jcater
Subject: [gnue] r8931 - trunk/gnue-common/src/events
Date: Wed, 25 Oct 2006 21:59:32 -0500 (CDT)

Author: jcater
Date: 2006-10-25 21:59:31 -0500 (Wed, 25 Oct 2006)
New Revision: 8931

Modified:
   trunk/gnue-common/src/events/Event.py
   trunk/gnue-common/src/events/EventAware.py
   trunk/gnue-common/src/events/EventController.py
Log:
make the event classes 'new-style' classes by subclassing object

Modified: trunk/gnue-common/src/events/Event.py
===================================================================
--- trunk/gnue-common/src/events/Event.py       2006-10-26 02:59:06 UTC (rev 
8930)
+++ trunk/gnue-common/src/events/Event.py       2006-10-26 02:59:31 UTC (rev 
8931)
@@ -31,7 +31,7 @@
 # Implementation of an Event
 # =============================================================================
 
-class Event:
+class Event(object):
   """
   An Event is the actual event object passed back and forth between the event
   listeners.

Modified: trunk/gnue-common/src/events/EventAware.py
===================================================================
--- trunk/gnue-common/src/events/EventAware.py  2006-10-26 02:59:06 UTC (rev 
8930)
+++ trunk/gnue-common/src/events/EventAware.py  2006-10-26 02:59:31 UTC (rev 
8931)
@@ -31,7 +31,7 @@
 # Base for an object that sends and receives events
 # =============================================================================
 
-class EventAware:
+class EventAware(object):
   """
   The base class for an object that sends and receives events
 

Modified: trunk/gnue-common/src/events/EventController.py
===================================================================
--- trunk/gnue-common/src/events/EventController.py     2006-10-26 02:59:06 UTC 
(rev 8930)
+++ trunk/gnue-common/src/events/EventController.py     2006-10-26 02:59:31 UTC 
(rev 8931)
@@ -35,7 +35,7 @@
 # Implmentation of an event dispatcher
 # =============================================================================
 
-class EventController:
+class EventController(object):
   """
   An EventController is responsible for dispatching events to registered
   listeners.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]