diff --git a/lib/entropy/spm/plugins/interfaces/portage_plugin/__init__.py b/lib/entropy/spm/plugins/interfaces/portage_plugin/__init__.py index 940aaa71e..612e0fe35 100644 --- a/lib/entropy/spm/plugins/interfaces/portage_plugin/__init__.py +++ b/lib/entropy/spm/plugins/interfaces/portage_plugin/__init__.py @@ -1060,8 +1060,8 @@ class PortagePlugin(SpmPlugin): # the timestamp (md5 hashed) as part of the filename cur_t = time.time() m = hashlib.md5() - m.update(repr(cur_t)) - m.update(repr(package)) + m.update(const_convert_to_rawstring(cur_t)) + m.update(const_convert_to_rawstring(package)) debug_file_save_path = file_save_name + "." + m.hexdigest() + \ etpConst['packagesdebugext'] debug_tmp_fd, debug_tmp_file = const_mkstemp(