Merge branch 'blender-v2.82-release'

This commit is contained in:
Sergey Sharybin 2020-02-04 09:50:53 +01:00
commit ea8975cb27

@ -18,6 +18,7 @@
# <pep8 compliant>
import os
from pathlib import Path
from codesign.util import ensure_file_does_not_exist_or_die
@ -82,6 +83,10 @@ class ArchiveWithIndicator:
If it is violated, an assert will fail.
"""
assert not self.is_ready()
# Try the best to make sure everything is synced to the file system,
# to avoid any possibility of stamp appearing on a network share prior to
# an actual filr.
os.sync()
self.ready_indicator_filepath.touch()
def clean(self) -> None: