Skip to content
This repository has been archived by the owner on Feb 22, 2020. It is now read-only.

Commit

Permalink
fix(service manager): fix nonetype for service manager
Browse files Browse the repository at this point in the history
  • Loading branch information
jemmyshin committed Aug 9, 2019
1 parent 23c6e68 commit e773aa3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions gnes/service/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit e773aa3

Please sign in to comment.