cc-4556: fixed
This commit is contained in:
parent
df54a75d5d
commit
893f9509fa
2 changed files with 3 additions and 2 deletions
|
@ -43,7 +43,7 @@ class EventRegistry(object):
|
||||||
methods")
|
methods")
|
||||||
|
|
||||||
|
|
||||||
class EventProxy(object):
|
class EventProxy(Loggable):
|
||||||
"""
|
"""
|
||||||
A container object for instances of BaseEvent (or it's subclasses) used for
|
A container object for instances of BaseEvent (or it's subclasses) used for
|
||||||
event contractor
|
event contractor
|
||||||
|
|
|
@ -126,7 +126,8 @@ class WatchSyncer(ReportHandler,Loggable):
|
||||||
try:
|
try:
|
||||||
# If there is a strange bug anywhere in the code the next line
|
# If there is a strange bug anywhere in the code the next line
|
||||||
# should be a suspect
|
# 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 )
|
#self.push_queue( event )
|
||||||
except BadSongFile as e:
|
except BadSongFile as e:
|
||||||
self.fatal_exception("Received bas song file '%s'" % e.path, e)
|
self.fatal_exception("Received bas song file '%s'" % e.path, e)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue