Merge remote-tracking branch 'origin/nl/981-test-domain-migration-script' into nl/981-test-domain-migration-script

This commit is contained in:
CocoByte 2023-10-24 17:51:42 -06:00
commit a7bd6709fa
No known key found for this signature in database
GPG key ID: BBFAA2526384C97F

View file

@ -54,8 +54,10 @@ class Command(BaseCommand):
if exit_status == 0:
logger.info(f"Successfully copied {filename}")
else:
logger.info(f"Failed to copy {filename}")
logger.error(f"Failed to copy {filename}")
def cat(self, copy_from, copy_to):
"""Runs the cat command to
copy_from a location to copy_to a location"""
exit_status = os.system(f'cat {copy_from} > {copy_to}')
return exit_status