We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0e901f8 commit 749f140Copy full SHA for 749f140
1 file changed
juju/bundle.py
@@ -576,14 +576,14 @@ async def run(self, context):
576
context.origins[self.charm] = {str(None): origin}
577
return self.charm
578
579
- elif Schema.CHARM_STORE.matches(url.schema):
+ if Schema.CHARM_STORE.matches(url.schema):
580
entity_id = await context.charmstore.entityId(self.charm)
581
log.debug('Adding %s', entity_id)
582
await context.client_facade.AddCharm(channel=None, url=entity_id, force=False)
583
identifier = entity_id
584
origin = client.CharmOrigin(source="charm-store", risk="stable")
585
586
- elif Schema.CHARM_HUB.matches(url.schema):
+ if Schema.CHARM_HUB.matches(url.schema):
587
ch = Channel('latest', 'stable')
588
if self.channel:
589
ch = Channel.parse(self.channel).normalize()
0 commit comments