mirror of
https://github.com/GSA/notifications-api.git
synced 2026-02-02 17:31:14 -05:00
fix flake8
This commit is contained in:
@@ -31,7 +31,6 @@ def list_s3_objects():
|
||||
)
|
||||
s3 = session.client("s3")
|
||||
|
||||
objects = []
|
||||
try:
|
||||
response = s3.list_objects_v2(Bucket=bucket_name)
|
||||
while True:
|
||||
@@ -50,7 +49,6 @@ def list_s3_objects():
|
||||
)
|
||||
|
||||
|
||||
|
||||
def get_s3_files():
|
||||
current_app.logger.info("Regenerate job cache #notify-admin-1200")
|
||||
bucket_name = current_app.config["CSV_UPLOAD_BUCKET"]["bucket"]
|
||||
|
||||
Reference in New Issue
Block a user