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