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:
b160f15
)
Strip local:-prefix from local charm urls (#121)
author
simonklb
<simonkollberg@gmail.com>
Thu, 11 May 2017 16:02:03 +0000
(18:02 +0200)
committer
Pete Vander Giessen
<petevg@gmail.com>
Thu, 11 May 2017 16:02:03 +0000
(12:02 -0400)
juju/model.py
patch
|
blob
|
history
diff --git
a/juju/model.py
b/juju/model.py
index
e024c65
..
e56ad66
100644
(file)
--- a/
juju/model.py
+++ b/
juju/model.py
@@
-1000,7
+1000,7
@@
class Model(object):
os.path.isdir(entity_url)
)
if is_local:
- entity_id = entity_url
+ entity_id = entity_url
.replace('local:', '')
else:
entity = await self.charmstore.entity(entity_url)
entity_id = entity['Id']