cc-4556: fixed

This commit is contained in:
Rudi Grinberg 2012-10-16 18:35:56 -04:00
parent df54a75d5d
commit 893f9509fa
2 changed files with 3 additions and 2 deletions

View File

@ -43,7 +43,7 @@ class EventRegistry(object):
methods")
class EventProxy(object):
class EventProxy(Loggable):
"""
A container object for instances of BaseEvent (or it's subclasses) used for
event contractor

View File

@ -126,7 +126,8 @@ class WatchSyncer(ReportHandler,Loggable):
try:
# If there is a strange bug anywhere in the code the next line
# should be a suspect
if self.contractor.register(EventProxy(event)): self.push_queue( event )
ev = EventProxy(event)
if self.contractor.register(ev): self.push_queue(ev)
#self.push_queue( event )
except BadSongFile as e:
self.fatal_exception("Received bas song file '%s'" % e.path, e)