Skip to content
Permalink
Browse files

fix(service manager): fix nonetype for service manager

  • Loading branch information...
jemmyshin committed Aug 9, 2019
1 parent 23c6e68 commit e773aa3340181fae9f9ad29ed1afe8a80c0b7abb
Showing with 1 addition and 0 deletions.
  1. +1 −0 gnes/service/base.py
@@ -460,6 +460,7 @@ def __enter__(self):
self.stack = ExitStack()
for s in self.services:
self.stack.enter_context(s)
return self

def __exit__(self, exc_type, exc_val, exc_tb):
self.stack.close()

0 comments on commit e773aa3

Please sign in to comment.
You can’t perform that action at this time.