Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Sharybin <sergey.vfx@gmail.com>2020-02-04 12:25:34 +0300
committerSergey Sharybin <sergey.vfx@gmail.com>2020-02-04 12:25:34 +0300
commit9dd6b0842a34b10e6479cb1c0f98d1c48c81198b (patch)
treedbad935fa7ae333779ba16d24bfdbbcb1cddbf74 /build_files
parentea8975cb270499788b503940c309bebefab243ab (diff)
parentae433393afda7e65462ccece9a67c744910bd9e3 (diff)
Merge branch 'blender-v2.82-release'
Diffstat (limited to 'build_files')
-rw-r--r--build_files/buildbot/codesign/archive_with_indicator.py11
1 files changed, 6 insertions, 5 deletions
diff --git a/build_files/buildbot/codesign/archive_with_indicator.py b/build_files/buildbot/codesign/archive_with_indicator.py
index 0574c964612..d417d4560d6 100644
--- a/build_files/buildbot/codesign/archive_with_indicator.py
+++ b/build_files/buildbot/codesign/archive_with_indicator.py
@@ -21,7 +21,7 @@
import os
from pathlib import Path
-from codesign.util import ensure_file_does_not_exist_or_die
+import codesign.util as util
class ArchiveWithIndicator:
@@ -85,16 +85,17 @@ class ArchiveWithIndicator:
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()
+ # an actual file.
+ if util.get_current_platform() != util.Platform.WINDOWS:
+ os.sync()
self.ready_indicator_filepath.touch()
def clean(self) -> None:
"""
Remove both archive and the ready indication file.
"""
- ensure_file_does_not_exist_or_die(self.ready_indicator_filepath)
- ensure_file_does_not_exist_or_die(self.archive_filepath)
+ util.ensure_file_does_not_exist_or_die(self.ready_indicator_filepath)
+ util.ensure_file_does_not_exist_or_die(self.archive_filepath)
def is_fully_absent(self) -> bool:
"""