projects
/
osm
/
N2VC.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b89f2ff
)
Fixed call to self._wait in _wait_for_new
author
Pete Vander Giessen
<petevg@gmail.com>
Wed, 2 Nov 2016 19:25:18 +0000
(15:25 -0400)
committer
Pete Vander Giessen
<petevg@gmail.com>
Wed, 2 Nov 2016 19:25:18 +0000
(15:25 -0400)
Added 'add'
juju/model.py
patch
|
blob
|
history
diff --git
a/juju/model.py
b/juju/model.py
index
b74a6c8
..
d63f6d0
100644
(file)
--- 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."""