Skip to content

Commit 5a77938

Browse files
committed
Remove the charmstore module itself
1 parent d88756e commit 5a77938

2 files changed

Lines changed: 4 additions & 128 deletions

File tree

juju/charmstore.py

Lines changed: 0 additions & 126 deletions
This file was deleted.

juju/model.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -483,6 +483,7 @@ async def resolve(self, url, architecture, app_name=None, channel=None, series=N
483483
is_bundle=is_bundle,
484484
)
485485

486+
486487
class CharmhubDeployType:
487488
"""CharmhubDeployType defines a class for resolving and deploying charmhub
488489
charms and bundles.
@@ -2361,8 +2362,9 @@ async def consume(self, endpoint, application_alias="", controller_name=None, co
23612362

23622363
consume_details = await source.get_consume_details(offer.as_local().string())
23632364

2364-
# Only disconnect when the controller object has been created within with function
2365-
# We don't want to disconnect the object passed by the user in the controller argument
2365+
# Only disconnect when the controller object has been created within
2366+
# with function We don't want to disconnect the object passed by the
2367+
# user in the controller argument
23662368
if not controller:
23672369
await source.disconnect()
23682370
if consume_details is None or consume_details.offer is None:

0 commit comments

Comments
 (0)