mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-04 13:07:52 +00:00
Bug 732328 - need os.close(fd) before os.remove(tmp) on expandlibs_exec.py. r=ted
This commit is contained in:
parent
6a62cb6a9b
commit
4338eff30f
@ -131,6 +131,7 @@ class ExpandArgsMore(ExpandArgs):
|
||||
content = ["%s\n" % obj for obj in objs]
|
||||
ref = "@" + tmp
|
||||
else:
|
||||
os.close(fd)
|
||||
os.remove(tmp)
|
||||
return
|
||||
self.tmp.append(tmp)
|
||||
|
@ -131,6 +131,7 @@ class ExpandArgsMore(ExpandArgs):
|
||||
content = ["%s\n" % obj for obj in objs]
|
||||
ref = "@" + tmp
|
||||
else:
|
||||
os.close(fd)
|
||||
os.remove(tmp)
|
||||
return
|
||||
self.tmp.append(tmp)
|
||||
|
Loading…
x
Reference in New Issue
Block a user