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:
2ed4358
)
Fix self.loop reference in BundleHandler
author
Cory Johns
<johnsca@gmail.com>
Thu, 2 Mar 2017 16:02:10 +0000
(11:02 -0500)
committer
Cory Johns
<johnsca@gmail.com>
Fri, 3 Mar 2017 16:33:39 +0000
(11:33 -0500)
juju/model.py
patch
|
blob
|
history
diff --git
a/juju/model.py
b/juju/model.py
index
634c3b6
..
5506e69
100644
(file)
--- a/
juju/model.py
+++ b/
juju/model.py
@@
-1500,7
+1500,7
@@
class BundleHandler(object):
charm_urls = await asyncio.gather(*[
self.model.add_local_charm_dir(*params)
for params in args
- ], loop=self.loop)
+ ], loop=self.
model.
loop)
# Update the 'charm:' entry for each app with the new 'local:' url.
for app_name, charm_url in zip(apps, charm_urls):
bundle['services'][app_name]['charm'] = charm_url