summaryrefslogtreecommitdiffstats
path: root/meta/classes
diff options
context:
space:
mode:
Diffstat (limited to 'meta/classes')
-rw-r--r--meta/classes/spdx.bbclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/spdx.bbclass b/meta/classes/spdx.bbclass
index a3e22afc33..fb78e274a8 100644
--- a/meta/classes/spdx.bbclass
+++ b/meta/classes/spdx.bbclass
@@ -208,7 +208,7 @@ def hash_file(file_name):
208def hash_string(data): 208def hash_string(data):
209 import hashlib 209 import hashlib
210 sha1 = hashlib.sha1() 210 sha1 = hashlib.sha1()
211 sha1.update(data) 211 sha1.update(data.encode('utf-8'))
212 return sha1.hexdigest() 212 return sha1.hexdigest()
213 213
214def run_fossology(foss_command, full_spdx): 214def run_fossology(foss_command, full_spdx):