aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xllvm_tools/upload_lexan_crashes_to_forcey.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm_tools/upload_lexan_crashes_to_forcey.py b/llvm_tools/upload_lexan_crashes_to_forcey.py
index 216511fc..b93f51a7 100755
--- a/llvm_tools/upload_lexan_crashes_to_forcey.py
+++ b/llvm_tools/upload_lexan_crashes_to_forcey.py
@@ -227,7 +227,7 @@ def main(argv: List[str]):
state_file = opts.state_file
last_date_str = opts.last_date
- os.makedirs(os.path.dirname(state_file), 0o755)
+ os.makedirs(os.path.dirname(state_file), 0o755, exist_ok=True)
if last_date_str is None:
with open(state_file, encoding='utf-8') as f: