Skip to contentSkip to conversation

recipetool.newappend: fix syntax error for 'not path_ok' error

PATCH New Christopher Larson 1 participant 1 message Apr 21, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 recipetool.newappend: fix syntax error for 'not path_ok' error

From: Christopher Larson <[email protected]>

---
 scripts/lib/recipetool/newappend.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
scripts/lib/recipetool/newappend.py +1 -1
index bdf0693..4fbb40a 100644
@@ -81,7 +81,7 @@ def newappend(args):
         return 1
 
     if not path_ok:
-        logger.warn('Unable to determine correct subdirectory path for bbappend file - check that what %s adds to BBFILES also matches .bbappend files. Using %s for now, but until you fix this the bbappend will not be applied.', os.path.join(destlayerdir, 'conf', 'layer.conf'), os.path.dirname(appendpath))
+        logger.warn('Unable to determine correct subdirectory path for bbappend file - check that what %s adds to BBFILES also matches .bbappend files. Using %s for now, but until you fix this the bbappend will not be applied.', os.path.join(args.destlayer, 'conf', 'layer.conf'), os.path.dirname(append_path))
 
     layerdirs = [os.path.abspath(layerdir) for layerdir in rd.getVar('BBLAYERS', True).split()]
     if not os.path.abspath(args.destlayer) in layerdirs:
Signature · 1 line
2.8.0