mirror of
https://github.com/openSUSE/osc.git
synced 2024-11-10 14:56:14 +01:00
fix file descriptor leak (make it possible to handle more than 1024
packages).
This commit is contained in:
parent
133bd7a613
commit
8ed237141a
@ -100,6 +100,7 @@ class Fetcher:
|
||||
print >>sys.stderr, '\n'.join(pac.urllist)
|
||||
sys.exit(1)
|
||||
finally:
|
||||
os.close(fd)
|
||||
if os.path.exists(tmpfile):
|
||||
os.unlink(tmpfile)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user