From a2e4fb16474673b676d49b807e7bf1e14701991f Mon Sep 17 00:00:00 2001 From: Tim Van Steenburgh Date: Tue, 1 Nov 2016 15:10:40 -0400 Subject: [PATCH] If deploying a single app, return the App instead of a list --- juju/model.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/juju/model.py b/juju/model.py index 8a49495..26611fc 100644 --- a/juju/model.py +++ b/juju/model.py @@ -818,7 +818,7 @@ class Model(object): ) await app_facade.Deploy([app]) - return [await self._wait_for_new('application', service_name)] + return await self._wait_for_new('application', service_name) def destroy(self): """Terminate all machines and resources for this model. -- 2.17.1