зеркало из https://github.com/mozilla/gecko-dev.git
No bug - Don't write artifacts twice. r=me
DONTBUILD NPOTB This was just an oversight during the initial landing, leading to two copies of artifact libraries being appended to the same destination file. --HG-- extra : commitid : JvvZDrjUOQZ extra : rebase_source : f48c1a9d4b506b6ed931043aeeaca437418ea9c3 extra : histedit_source : 3dbfd049039c0adc595c1abb0df3dca3af9db207
This commit is contained in:
Родитель
8e006e39b3
Коммит
89b81547b6
|
@ -325,7 +325,6 @@ class Artifacts(object):
|
|||
n = os.path.join(distdir, 'bin', os.path.basename(info.filename))
|
||||
fh = FileAvoidWrite(n, mode='r')
|
||||
shutil.copyfileobj(zf.open(info), fh)
|
||||
fh.write(zf.open(info).read())
|
||||
file_existed, file_updated = fh.close()
|
||||
self.log(logging.INFO, 'artifact',
|
||||
{'updating': 'Updating' if file_updated else 'Not updating', 'filename': n},
|
||||
|
|
Загрузка…
Ссылка в новой задаче