summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Sherwood <paul.sherwood@codethink.co.uk>2018-03-13 09:40:22 +0000
committerPaul Sherwood <paul.sherwood@codethink.co.uk>2018-03-13 09:40:22 +0000
commitda005189f44a7d2473a838f799d68246efdb6ba5 (patch)
treec861ebc281770ec0bbf9c494f171e73595721458
parentace5381f24951b82d1b2dd5aef07abd362a55832 (diff)
downloadybd-ps-use-host.tar.gz
Just use nameps-use-host
-rw-r--r--ybd/morphs.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/ybd/morphs.py b/ybd/morphs.py
index 4e1059d..00e7775 100644
--- a/ybd/morphs.py
+++ b/ybd/morphs.py
@@ -166,7 +166,7 @@ class Morphs(object):
exit=exit)
dn['path'] += '.default'
- dn['path'] = self._demorph(dn['path'])
+ dn['path'] = os.path.basename(self._demorph(dn['path']))
dn.setdefault('name', os.path.basename(dn['path']))
if dn.get('name') == config['target']: