ConfHandler: Remove lingering close

Message ID 20220617112719.15479-1-olani@axis.com
State Accepted, archived
Commit 9fc1bab6b7e3c0fca3ddec4bc8c7763d2aff8bab
Headers show
Series ConfHandler: Remove lingering close | expand

Commit Message

Ola x Nilsson June 17, 2022, 11:27 a.m. UTC
The f.close() statement should have been removed in
459ad524756a3f9b50feeedf31e33502dceae8d5.

Signed-off-by: Ola x Nilsson <ola.x.nilsson@axis.com>
---
 lib/bb/parse/parse_py/ConfHandler.py | 2 --
 1 file changed, 2 deletions(-)

Patch

diff --git a/lib/bb/parse/parse_py/ConfHandler.py b/lib/bb/parse/parse_py/ConfHandler.py
index b895d5b5..810b6011 100644
--- a/lib/bb/parse/parse_py/ConfHandler.py
+++ b/lib/bb/parse/parse_py/ConfHandler.py
@@ -147,8 +147,6 @@  def handle(fn, data, include):
     if oldfile:
         data.setVar('FILE', oldfile)
 
-    f.close()
-
     for f in confFilters:
         f(fn, data)