removed print statement and unused line of code

This commit is contained in:
mike cullerton 2022-11-19 15:22:26 -05:00
parent 5a1bd19e99
commit 14caf0eaba
1 changed files with 0 additions and 2 deletions

View File

@ -246,13 +246,11 @@ class ProcessModelService(FileSystemService):
original_group_path = self.process_group_path(original_process_group_id)
original_root, original_group_id = os.path.split(original_group_path)
new_root = f"{FileSystemService.root_path()}/{new_location}"
new_relative_path = f"{new_location}/{original_group_id}"
new_group_path = os.path.abspath(
os.path.join(FileSystemService.root_path(), new_root, original_group_id)
)
destination = shutil.move(original_group_path, new_group_path)
new_process_group = self.get_process_group(destination)
print("process_group_move")
return new_process_group
def __get_all_nested_models(self, group_path: str) -> list: