shotgunsoftware/tk-core — pull request #113 by manneohrstrom (2014-11-11 22:41:46+00:00)
Title: #26843 Hooks not configurable when executed from an engine.

There is logic in the bundle base class trying to resolve `{engine_name}` token, but this fails for any engine level hooks because it tries to access self.engine which obviously an engine doesn't have. The `{engine_name}` token doesn't make sense in the context of an engine. This small fix makes it possible to run engine level hooks.