From: Tim Van Steenburgh Date: Tue, 1 Nov 2016 19:10:40 +0000 (-0400) Subject: If deploying a single app, return the App instead of a list X-Git-Tag: 0.1.0~61 X-Git-Url: https://osm.etsi.org/gitweb/?a=commitdiff_plain;h=a2e4fb16474673b676d49b807e7bf1e14701991f;p=osm%2FN2VC.git If deploying a single app, return the App instead of a list --- 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.