diff --git a/gnes/service/base.py b/gnes/service/base.py index f9a6bc8c..99853e1f 100644 --- a/gnes/service/base.py +++ b/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()