File tree Expand file tree Collapse file tree 1 file changed +3
-9
lines changed Expand file tree Collapse file tree 1 file changed +3
-9
lines changed Original file line number Diff line number Diff line change @@ -190,17 +190,15 @@ def audit_task(self, task):
190
190
file_hash = hash_file (input_path )
191
191
entity_id = f"uid:{ gen_uuid ()} "
192
192
entity_message = {
193
- "@id" : entity_id ,
193
+ "@id" : entity_id ,
194
194
"Label" : print (entity_label ),
195
195
"AtLocation" : input_path ,
196
- "GeneratedBy" : "test" ,
196
+ "GeneratedBy" : "test" ,
197
197
"@type" : "input" ,
198
- "digest" : file_hash
198
+ "digest" : file_hash ,
199
199
}
200
200
self .audit_message (entity_message , AuditFlag .PROV )
201
201
202
-
203
-
204
202
if command is not None :
205
203
cmd_name = command .split ()[0 ]
206
204
software = f"{ cmd_name } --version"
@@ -227,9 +225,5 @@ def audit_task(self, task):
227
225
"StartedAtTime" : now (),
228
226
"AssociatedWith" : version_cmd ,
229
227
}
230
-
231
-
232
228
233
229
self .audit_message (start_message , AuditFlag .PROV )
234
-
235
-
You can’t perform that action at this time.
0 commit comments