This repository was archived by the owner on Jun 20, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +8
-2
lines changed Expand file tree Collapse file tree 2 files changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -230,7 +230,10 @@ def lambda_handler(event, context):
230230 for download in to_download .values ():
231231 s3_path = download ["s3_path" ]
232232 local_path = download ["local_path" ]
233- print ("Downloading definition file %s from s3://%s/%s" % (local_path , AV_DEFINITION_S3_BUCKET , s3_path ))
233+ print (
234+ "Downloading definition file %s from s3://%s/%s"
235+ % (local_path , AV_DEFINITION_S3_BUCKET , s3_path )
236+ )
234237 s3 .Bucket (AV_DEFINITION_S3_BUCKET ).download_file (s3_path , local_path )
235238 print ("Downloading definition file %s complete!" % (local_path ))
236239 scan_result , scan_signature = clamav .scan_file (file_path )
Original file line number Diff line number Diff line change @@ -37,7 +37,10 @@ def lambda_handler(event, context):
3737 for download in to_download .values ():
3838 s3_path = download ["s3_path" ]
3939 local_path = download ["local_path" ]
40- print ("Downloading definition file %s from s3://%s/%s" % (local_path , AV_DEFINITION_S3_BUCKET , s3_path ))
40+ print (
41+ "Downloading definition file %s from s3://%s/%s"
42+ % (local_path , AV_DEFINITION_S3_BUCKET , s3_path )
43+ )
4144 s3 .Bucket (AV_DEFINITION_S3_BUCKET ).download_file (s3_path , local_path )
4245 print ("Downloading definition file %s complete!" % (local_path ))
4346
You can’t perform that action at this time.
0 commit comments