Skip to content
Snippets Groups Projects
Commit 611e43bc authored by Ayub khan's avatar Ayub khan
Browse files

BOM-245

python3 compatibility
parent 66124234
No related merge requests found
......@@ -50,7 +50,7 @@ class TransformerRegistry(PluginManager):
sorted_transformers = sorted(cls.get_registered_transformers(), key=lambda t: t.name())
for transformer in sorted_transformers:
hash_obj.update(transformer.name().encode('utf-8'))
hash_obj.update(str(transformer.WRITE_VERSION))
hash_obj.update(six.b(str(transformer.WRITE_VERSION)))
return b64encode(hash_obj.digest())
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment