From f9c4c6c9f4c7f81d4d58fba30aa1db22feb65a77 Mon Sep 17 00:00:00 2001 From: Jeremy Stanley Date: Tue, 4 Feb 2014 19:15:00 +0000 Subject: [PATCH] Remove unused event code * lib/mudpy/misc.py: Event elements weren't fully implemented, so rip out the dead code in preparation for a different implementation. --- lib/mudpy/misc.py | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/lib/mudpy/misc.py b/lib/mudpy/misc.py index 059e1be..a463653 100644 --- a/lib/mudpy/misc.py +++ b/lib/mudpy/misc.py @@ -217,16 +217,6 @@ class Element: newlist.append(value) self.set(facet, newlist) - def new_event(self, action, when=None): - """Create, attach and enqueue an event element.""" - - # if when isn't specified, that means now - if not when: - when = self.universe.get_time() - - # events are elements themselves - event = Element("event:" + self.key + ":" + counter) - def send( self, message, @@ -432,8 +422,6 @@ class Universe: self.contents = {} self.default_origins = {} self.loglines = [] - self.pending_events_long = {} - self.pending_events_short = {} self.private_files = [] self.reload_flag = False self.startdir = os.getcwd() -- 2.11.0