mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-08-06 01:35:22 +02:00
Update cat_files_into_getgov.py
This commit is contained in:
parent
852f22a57a
commit
4f00865ff2
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