cc-4350: Possible fix.

This commit is contained in:
Rudi Grinberg 2012-09-05 16:04:59 -04:00
parent 272840eb5a
commit 0798d67b2d
2 changed files with 4 additions and 3 deletions

View file

@ -113,9 +113,9 @@ class BaseEvent(Loggable):
self._raw_event = evt
self.path = evt.path
self.__class__ = evt.__class__
# We don't transfer the _pack_hook over to the new event
# TODO : perhaps we should call the old events pack_hook just to make
# sure everything is done cleanly?
# Clean up old hook and transfer the new events hook
self.reset_hook()
self.add_safe_pack_hook( evt._pack_hook )
return self
def assign_owner(self,req):