mirror of
https://github.com/status-im/spiff-arena.git
synced 2025-01-16 13:15:00 +00:00
removed print statement and unused line of code
This commit is contained in:
parent
ed3efd6d07
commit
7e7ccb4e5e
@ -246,13 +246,11 @@ class ProcessModelService(FileSystemService):
|
|||||||
original_group_path = self.process_group_path(original_process_group_id)
|
original_group_path = self.process_group_path(original_process_group_id)
|
||||||
original_root, original_group_id = os.path.split(original_group_path)
|
original_root, original_group_id = os.path.split(original_group_path)
|
||||||
new_root = f"{FileSystemService.root_path()}/{new_location}"
|
new_root = f"{FileSystemService.root_path()}/{new_location}"
|
||||||
new_relative_path = f"{new_location}/{original_group_id}"
|
|
||||||
new_group_path = os.path.abspath(
|
new_group_path = os.path.abspath(
|
||||||
os.path.join(FileSystemService.root_path(), new_root, original_group_id)
|
os.path.join(FileSystemService.root_path(), new_root, original_group_id)
|
||||||
)
|
)
|
||||||
destination = shutil.move(original_group_path, new_group_path)
|
destination = shutil.move(original_group_path, new_group_path)
|
||||||
new_process_group = self.get_process_group(destination)
|
new_process_group = self.get_process_group(destination)
|
||||||
print("process_group_move")
|
|
||||||
return new_process_group
|
return new_process_group
|
||||||
|
|
||||||
def __get_all_nested_models(self, group_path: str) -> list:
|
def __get_all_nested_models(self, group_path: str) -> list:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user