mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-08-05 01:11:55 +02:00
Merge remote-tracking branch 'origin/nl/981-test-domain-migration-script' into nl/981-test-domain-migration-script
This commit is contained in:
commit
a7bd6709fa
1 changed files with 3 additions and 1 deletions
|
@ -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
|
Loading…
Add table
Add a link
Reference in a new issue