mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-05-17 18:09:25 +02:00
Lint
This commit is contained in:
parent
de6ff1d7d1
commit
a64ecbd0d2
1 changed files with 2 additions and 1 deletions
|
@ -18,6 +18,7 @@ logger = logging.getLogger(__name__)
|
|||
|
||||
class Command(BaseCommand):
|
||||
"""Emails a encrypted zip file containing a csv of our domains and domain requests"""
|
||||
|
||||
help = (
|
||||
"Generates and uploads a domain-metadata.csv file to our S3 bucket "
|
||||
"which is based off of all existing Domains."
|
||||
|
@ -65,6 +66,7 @@ class Command(BaseCommand):
|
|||
"report_function": csv_export.DomainRequestExport.export_full_domain_request_report,
|
||||
},
|
||||
}
|
||||
|
||||
# Set the password equal to our content in SECRET_ENCRYPT_METADATA.
|
||||
# For local development, this will be "devpwd" unless otherwise set.
|
||||
override = settings.SECRET_ENCRYPT_METADATA is None and not settings.IS_PRODUCTION
|
||||
|
@ -81,7 +83,6 @@ class Command(BaseCommand):
|
|||
attachment_file=encrypted_zip_in_bytes,
|
||||
)
|
||||
|
||||
|
||||
def get_encrypted_zip(self, zip_filename, reports, password):
|
||||
"""Helper function for encrypting the attachment file"""
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue