chiark
/
gitweb
/
~ianmdlvl
/
fdroidserver.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
387eebc
)
update: close unclosed Image instance
author
Hans-Christoph Steiner
<hans@eds.org>
Wed, 13 Dec 2017 11:28:11 +0000
(12:28 +0100)
committer
Hans-Christoph Steiner
<hans@eds.org>
Thu, 14 Dec 2017 15:57:22 +0000
(16:57 +0100)
fdroidserver/update.py
patch
|
blob
|
history
diff --git
a/fdroidserver/update.py
b/fdroidserver/update.py
index 4611b12761cdee5c5aebe69b11ca069dbbac412f..15013347f6d8b0c6177e12ae49575bb62b912985 100644
(file)
--- a/
fdroidserver/update.py
+++ b/
fdroidserver/update.py
@@
-1487,6
+1487,8
@@
def extract_apk_icons(icon_filename, apk, apkzip, repo_dir):
except Exception as e:
logging.warning(_("Failed reading {path}: {error}")
.format(path=icon_path, error=e))
+ finally:
+ im.close()
if apk['icons']:
apk['icon'] = icon_filename