* not raising to provide an answer for the user (due single thread)
* removing temporary sdk_dir
This commit is contained in:
Piotr Zalewa 2011-10-25 12:59:07 +02:00
Родитель 5f58c24a1b
Коммит 78ee4266f3
1 изменённых файлов: 3 добавлений и 2 удалений

Просмотреть файл

@ -111,10 +111,11 @@ def build(sdk_dir, package_dir, filename, hashtag, tstart=None, options=None):
shutil.copy(xpi_path, xpi_targetpath)
except IOError, err:
info_write(info_targetpath, 'error',
'XPI file is not creater. Possibly a bug in the code',
'XPI file is not created. Possibly a bug in the code',
hashtag)
log.critical("[xpi:%s] Failed to copy xpi.\n%s" % (hashtag, str(err)))
raise
shutil.rmtree(sdk_dir)
return response
shutil.rmtree(sdk_dir)