def METHOD_NAME(self, active_project, published_project):
    if not os.path.isdir(published_project.project_file_root()):
        os.mkdir(published_project.project_file_root())
    os.rename(active_project.file_root(), published_project.file_root())