From ff401a3ca88db82906bc661026210127b6dd5e63 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vincent=20Membr=C3=A9?= Date: Wed, 29 Apr 2020 17:51:33 +0200 Subject: [PATCH] Work in progress --- tools/ncf.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/ncf.py b/tools/ncf.py index dffffd6eb..a82e48193 100644 --- a/tools/ncf.py +++ b/tools/ncf.py @@ -448,8 +448,8 @@ def get_all_techniques_metadata(include_methods_calls = True, migrate_technique all_metadata[metadata['bundle_name']] = metadata except NcfError as e: - bundle_name = os.path.splitext(os.path.basename(file))[0] - error = NcfError("Could not parse Technique '"+ bundle_name+ "'", cause=e) + file_abs_path = os.path.abspath(file) + error = NcfError("Could not parse Technique file '"+ file_abs_path + "'", cause=e) errors.append(error) continue # skip this file, it doesn't have the right tags in - yuk!