Commit 3eee728a authored by Julien Muchembled's avatar Julien Muchembled

importer: do not checksum data twice

parent b954857f
......@@ -405,7 +405,6 @@ class ImporterDatabaseManager(DatabaseManager):
compression = len(compressed_data) < len(data)
if compression:
data = compressed_data
checksum = util.makeChecksum(data)
data_id = self.holdData(util.makeChecksum(data), oid, data,
compression)
data_id_list.append(data_id)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment