Add description to disclose_security_emails script

This commit is contained in:
Erin 2024-01-10 16:15:40 -08:00
parent 273d457ac6
commit 4ddf96aed4
No known key found for this signature in database
GPG key ID: 1CAD275313C62460

View file

@ -1,4 +1,8 @@
""""Script description""" """"
Converts all ready and DNS needed domains with a non-default public contact
to disclose their public contact. Created for Issue#1535 to resolve
disclose issue of domains with missing security emails.
"""
import logging import logging
import copy import copy
@ -9,8 +13,7 @@ from registrar.models import Domain
logger = logging.getLogger(__name__) logger = logging.getLogger(__name__)
class Command(BaseCommand): class Command(BaseCommand):
# TODO: write script description here help = "Disclose all nondefault domain security emails."
help = "Description"
def __init__(self): def __init__(self):
"""Sets global variables for code tidyness""" """Sets global variables for code tidyness"""
@ -26,7 +29,8 @@ class Command(BaseCommand):
def handle(self, **options): def handle(self, **options):
""" """
Description for what update_security_email_disclose does Converts all ready and DNS needed domains with a non-default public contact
to disclose their public contact.
""" """
logger.info("Updating security emails to public") logger.info("Updating security emails to public")