Skip to content

Commit

Permalink
ikalog/engine: Add context["engine"]["engine"] ( == IkaEngine)
Browse files Browse the repository at this point in the history
- The context had only bound methods for some security reason, but I realized
  the engine can be accessed by bound_method.__self__. I do not see any strong
  reason to do that.

Signed-off-by: Takeshi HASEGAWA <[email protected]>
  • Loading branch information
hasegaw committed May 5, 2016
1 parent 35b1b3a commit c584828
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ikalog/engine.py
Original file line number Diff line number Diff line change
Expand Up @@ -179,6 +179,7 @@ def reset(self):
def create_context(self):
self.context = {
'engine': {
'engine': self,
'epoch_time': None,
'frame': None,
'service': {
Expand Down

0 comments on commit c584828

Please sign in to comment.