summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
Diffstat (limited to 'meta')
-rw-r--r--meta/classes/spdx.bbclass3
1 files changed, 2 insertions, 1 deletions
diff --git a/meta/classes/spdx.bbclass b/meta/classes/spdx.bbclass
index ab2eaa5c0c..9e374d70a6 100644
--- a/meta/classes/spdx.bbclass
+++ b/meta/classes/spdx.bbclass
@@ -289,7 +289,8 @@ def create_spdx_doc(file_info, scanned_files):
289def get_ver_code(dirname): 289def get_ver_code(dirname):
290 chksums = [] 290 chksums = []
291 for f_dir, f in list_files(dirname): 291 for f_dir, f in list_files(dirname):
292 hash = hash_file(os.path.join(dirname, f_dir, f)) 292 path = os.path.join(dirname, f_dir, f)
293 hash = hash_file(path)
293 if not hash is None: 294 if not hash is None:
294 chksums.append(hash) 295 chksums.append(hash)
295 else: 296 else: