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:
1 parent
0e814bd4da
commit
34f3b719e4
4 files changed
+6
-11
No files matched your search
@@ -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