From ffcf6b2596cee0324067f27f1548eb75500ad79d Mon Sep 17 00:00:00 2001 From: Alex Tavarez Date: Sat, 24 Jan 2026 14:47:44 -0500 Subject: [PATCH] fix: made the return be self, given that the instance of the class itself is what is treated as the context manager by default --- softman.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/softman.py b/softman.py index 516ebd9..e1d603f 100644 --- a/softman.py +++ b/softman.py @@ -134,7 +134,7 @@ class App: self.__current_filepath = filepath self.__file = open(str(filepath), mode) - return __enter__ + return self # @TODO write below method to duplicate file or template in local to project role file/template def clone(self, source_scope: Scopes = Scopes.SYS, target_scope: Scopes = Scopes.PROJ, index: int = 0) -> Never: