summaryrefslogtreecommitdiffstats
path: root/bitbake
diff options
context:
space:
mode:
Diffstat (limited to 'bitbake')
-rw-r--r--bitbake/lib/bb/msg.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bitbake/lib/bb/msg.py b/bitbake/lib/bb/msg.py
index c0b344e323..2d88c4e72d 100644
--- a/bitbake/lib/bb/msg.py
+++ b/bitbake/lib/bb/msg.py
@@ -280,7 +280,7 @@ def setLoggingConfig(defaultconfig, userconfigfile=None):
280 logconfig = copy.deepcopy(defaultconfig) 280 logconfig = copy.deepcopy(defaultconfig)
281 281
282 if userconfigfile: 282 if userconfigfile:
283 with open(userconfigfile, 'r') as f: 283 with open(os.path.normpath(userconfigfile), 'r') as f:
284 if userconfigfile.endswith('.yml') or userconfigfile.endswith('.yaml'): 284 if userconfigfile.endswith('.yml') or userconfigfile.endswith('.yaml'):
285 import yaml 285 import yaml
286 userconfig = yaml.load(f) 286 userconfig = yaml.load(f)