Skip to content

Commit aa0ee71

Browse files
authored
Fixes #4134 from OCCRP upstream repo (#4)
1 parent 0fc3567 commit aa0ee71

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

ingestors/manager.py

-7
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@
22
import logging
33
from timeit import default_timer
44
from tempfile import mkdtemp
5-
from datetime import datetime
6-
from pkg_resources import get_distribution
75

86
from followthemoney import model
97
from banal import ensure_list
@@ -189,12 +187,7 @@ def ingest(self, file_path, entity, **kwargs):
189187
if file_size is not None and not entity.has("fileSize"):
190188
entity.add("fileSize", file_size)
191189

192-
now = datetime.now()
193-
now_string = now.strftime("%Y-%m-%dT%H:%M:%S.%f")
194-
195190
entity.set("processingStatus", self.STATUS_FAILURE)
196-
entity.set("processingAgent", get_distribution("ingestors").version)
197-
entity.set("processedAt", now_string)
198191

199192
ingestor_class = None
200193
ingestor_name = None

0 commit comments

Comments
 (0)