forked from cerc-io/stack-orchestrator
Path is not a context manager in python 3.13 (#971)
Reviewed-on: cerc-io/stack-orchestrator#971 Reviewed-by: rachmaninovquar <rachmaninovquar@noreply.git.vdb.to>
This commit is contained in:
@@ -27,5 +27,4 @@ class Stack:
|
||||
self.name = name
|
||||
|
||||
def init_from_file(self, file_path: Path):
|
||||
with file_path:
|
||||
self.obj = get_yaml().load(open(file_path, "r"))
|
||||
self.obj = get_yaml().load(open(file_path, "r"))
|
||||
|
||||
Reference in New Issue
Block a user