This commit is contained in:
zandercymatics 2023-11-22 08:49:48 -07:00
parent b74dacce1f
commit db964498e1
No known key found for this signature in database
GPG key ID: FF4636ABEC9682B7
2 changed files with 3 additions and 2 deletions

View file

@ -55,7 +55,8 @@ class Command(BaseCommand):
parser.add_argument("--directory", default="migrationdata", help="Desired directory")
def handle(self, migration_json_filename, **options):
"""Load organization address data into the TransitionDomain and DomainInformation tables by using the organization adhoc file and domain_additional file"""
"""Load organization address data into the TransitionDomain
and DomainInformation tables by using the organization adhoc file and domain_additional file"""
# Parse JSON file
options = self.load_json_settings(options, migration_json_filename)
org_args = TransitionDomainArguments(**options)

View file

@ -800,7 +800,7 @@ class OrganizationDataLoader:
return self.tds_to_update
def prepare_transition_domains(self, transition_domains):
"""Pares org data for each transition domain,
"""Parses org data for each transition domain,
then appends it to the tds_to_update list"""
for item in transition_domains:
updated = self.parse_org_data(item.domain_name, item)