From 07d8f84983e1b97bb01db7c82a8fdbaa90984161 Mon Sep 17 00:00:00 2001 From: Cory Johns Date: Thu, 2 Mar 2017 11:02:10 -0500 Subject: [PATCH] Fix self.loop reference in BundleHandler --- juju/model.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/juju/model.py b/juju/model.py index 634c3b6..5506e69 100644 --- 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 -- 2.25.1