summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Sherwood <paul.sherwood@codethink.co.uk>2016-08-09 20:32:42 +0100
committerPaul Sherwood <paul.sherwood@codethink.co.uk>2016-08-09 20:32:42 +0100
commitb4a1be9661959119f16471e51523819d35e1fc45 (patch)
tree355a033dcb0ce0d9ef0679011d19a581e30598ac
parent47424eb2608084bbe5145b814d954b1faffde0b0 (diff)
downloadybd-b4a1be9661959119f16471e51523819d35e1fc45.tar.gz
Always exit if specified morph file is missing
-rw-r--r--ybd/morphs.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/ybd/morphs.py b/ybd/morphs.py
index 84ec0e3..4f430d6 100644
--- a/ybd/morphs.py
+++ b/ybd/morphs.py
@@ -144,7 +144,7 @@ class Morphs(object):
exit = True if config.get('check-definitions') == 'exit' else False
if dn.get('morph'):
if not os.path.isfile(dn.get('morph')):
- log('DEFINITION', 'WARNING: missing', dn['morph'], exit=exit)
+ log('DEFINITION', 'WARNING: missing', dn['morph'], exit=True)
dn['path'] = self._demorph(dn.pop('morph'))
if 'path' not in dn: