8000 Remove redundant `file.close()` · kivy/python-for-android@2d5ef7f · GitHub
[go: up one dir, main page]

Skip to content

Commit 2d5ef7f

Browse files
authored
Remove redundant file.close()
The end of a `with` block already does that.
1 parent 5a844e7 commit 2d5ef7f

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

pythonforandroid/recipes/sdl2_image/__init__.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,6 @@ def prebuild_arch(self, arch):
3838
"--depth", "1", "-b",
3939
branch, clone_path, "--recursive"
4040
)
41-
file.close()
4241

4342
super().prebuild_arch(arch)
4443

0 commit comments

Comments
 (0)
0