From 7e07abb4c4631503c66cdb06379e9a76c0ebe2da Mon Sep 17 00:00:00 2001 From: Liam Young Date: Wed, 18 Apr 2018 16:24:04 +0000 Subject: [PATCH] Fix doc string lint as per tinwoods comments --- zaza/model.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/zaza/model.py b/zaza/model.py index d982827..cd7dbc0 100644 --- a/zaza/model.py +++ b/zaza/model.py @@ -44,7 +44,7 @@ def run(*steps): """Run the given steps in an asyncio loop :returns: The result of the asyncio.Task - :rtype: obj + :rtype: Any """ if not steps: return @@ -72,7 +72,7 @@ def sync_wrapper(f): @asynccontextmanager @async_generator async def run_in_model(model_name): - """Conext manager for executing code inside a libjuju model + """Context manager for executing code inside a libjuju model Example of using run_in_model: async with run_in_model(model_name) as model: model.do_something()