From: Pete Vander Giessen Date: Wed, 2 Nov 2016 19:25:18 +0000 (-0400) Subject: Fixed call to self._wait in _wait_for_new X-Git-Tag: 0.1.0~57^2 X-Git-Url: https://osm.etsi.org/gitweb/?p=osm%2FN2VC.git;a=commitdiff_plain;h=acdcde3ec8aced7084d18698b04eac9b778cd0cb Fixed call to self._wait in _wait_for_new Added 'add' --- diff --git a/juju/model.py b/juju/model.py index b74a6c8..d63f6d0 100644 --- a/juju/model.py +++ b/juju/model.py @@ -567,7 +567,7 @@ class Model(object): This coroutine blocks until the new object appears in the model. """ - return await self._wait(entity_type, entity_id, predicate) + return await self._wait(entity_type, entity_id, 'add', predicate) async def wait_for_action(self, action_id): """Given an action, wait for it to complete."""