fix migration, linted again

Signed-off-by: CocoByte <nicolle.leclair@gmail.com>
This commit is contained in:
CocoByte 2023-10-10 10:40:01 -06:00
parent 5bafe3e417
commit 875d0e25c9
No known key found for this signature in database
GPG key ID: BBFAA2526384C97F
2 changed files with 8 additions and 9 deletions

View file

@ -143,9 +143,9 @@ class Command(BaseCommand):
logger.info("Loaded statuses for %d domains", len(domain_status_dictionary))
return domain_status_dictionary
def get_user_emails_dict(self,
contacts_filename: str,
sep) -> defaultdict[str, str]:
def get_user_emails_dict(
self, contacts_filename: str, sep
) -> defaultdict[str, str]:
"""Creates mapping of userId -> emails"""
user_emails_dictionary = defaultdict(str)
logger.info("Reading domain-contacts data file %s", contacts_filename)
@ -157,8 +157,7 @@ class Command(BaseCommand):
logger.info("Loaded emails for %d users", len(user_emails_dictionary))
return user_emails_dictionary
def get_mapped_status(self,
status_to_map: str):
def get_mapped_status(self, status_to_map: str):
"""
Given a verisign domain status, return a corresponding
status defined for our domains.

View file

@ -1,11 +1,11 @@
# Generated by Django 4.2.1 on 2023-10-03 05:43
# Generated by Django 4.2.1 on 2023-10-10 16:30
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
("registrar", "0032_alter_transitiondomain_status"),
("registrar", "0037_create_groups_v01"),
]
operations = [