cc-4228: fixed this ticket by stomping out bugs in eventcontractor and tweaking ApiController
This commit is contained in:
parent
10a7eae498
commit
5b134d0055
6 changed files with 40 additions and 14 deletions
|
@ -59,6 +59,10 @@ class BaseEvent(Loggable):
|
|||
self._pack_hook = lambda: None # no op
|
||||
# into another event
|
||||
|
||||
def reset_hook(self):
|
||||
self._pack_hook()
|
||||
self._pack_hook = lambda: None
|
||||
|
||||
def exists(self): return os.path.exists(self.path)
|
||||
|
||||
@LazyProperty
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue