Skip to content

Commit 7885331

Browse files
Merge pull request #1396 from gooddata/snapshot-master-7d482a0f-to-rel/dev
[bot] Merge master/7d482a0f into rel/dev
2 parents b29a7a5 + 7d482a0 commit 7885331

File tree

1 file changed

+1
-2
lines changed
  • packages/gooddata-sdk/src/gooddata_sdk

1 file changed

+1
-2
lines changed

packages/gooddata-sdk/src/gooddata_sdk/utils.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -166,8 +166,7 @@ def get_sorted_yaml_files(folder: Path) -> list[Path]:
166166

167167

168168
def create_directory(path: Path) -> None:
169-
if not os.path.exists(path):
170-
os.makedirs(path)
169+
os.makedirs(path, exist_ok=True)
171170

172171

173172
def recreate_directory(path: Path) -> None:

0 commit comments

Comments
 (0)