summaryrefslogtreecommitdiff
path: root/src/python/m5/event.py
diff options
context:
space:
mode:
authorLisa Hsu <hsul@eecs.umich.edu>2008-10-16 14:16:26 -0400
committerLisa Hsu <hsul@eecs.umich.edu>2008-10-16 14:16:26 -0400
commit101c2d9174e34247c3f9013c24577a274a11ab39 (patch)
treea6e7c368b957593e4fffefe17e450eded43403b9 /src/python/m5/event.py
parent90e40ca982ea99c3abb7bdebffaed48f467ff0e3 (diff)
parent5b07448cf12460090af588b332e813af3419d645 (diff)
downloadgem5-101c2d9174e34247c3f9013c24577a274a11ab39.tar.xz
Automated merge with ssh://daystrom.m5sim.org//z/repo/m5
Diffstat (limited to 'src/python/m5/event.py')
-rw-r--r--src/python/m5/event.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/python/m5/event.py b/src/python/m5/event.py
index 5d50448e7..2b43e578e 100644
--- a/src/python/m5/event.py
+++ b/src/python/m5/event.py
@@ -26,6 +26,7 @@
#
# Authors: Nathan Binkert
+import m5
import internal.event
from internal.event import PythonEvent, SimLoopExitEvent as SimExit
@@ -41,7 +42,7 @@ class Event(PythonEvent):
def __init__(self, priority=None):
if priority is None:
priority = internal.event.Event.Default_Pri
- super(PythonEvent, self).__init__(self, priority)
+ super(Event, self).__init__(self, priority)
class ProgressEvent(Event):
def __init__(self, eventq, period):