1
0
mirror of https://github.com/openSUSE/osc.git synced 2025-01-27 07:06:13 +01:00

fix latent file descriptor leak in get_source_file()

This commit is contained in:
Dirk Mueller 2008-04-07 09:55:11 +00:00
parent d9ee2be26d
commit 5c064bc2c1

View File

@ -1959,6 +1959,7 @@ def get_source_file(apiurl, prj, package, filename, targetfilename=None, revisio
if not buf: break
o.write(buf)
o.close()
f.close()
def get_binary_file(apiurl, prj, repo, arch,