18 lines
504 B
Python
18 lines
504 B
Python
from scripts.task import Task
|
|
from utils import FileUtils
|
|
from utils.logger_utils import app_logger
|
|
|
|
|
|
class ProjectCopy(Task):
|
|
|
|
def execute(self):
|
|
self.init()
|
|
result = FileUtils.copy(self.context.project_original_path, self.context.temp_project_path)
|
|
app_logger().debug("Copied project '{}' to '{}'".format(self.context.project_original_path, result))
|
|
pass
|
|
|
|
def init(self):
|
|
self.context.temp_project_path = self.context.project_original_path
|
|
|
|
pass
|