Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -512,7 +512,8 @@ def _make_directory_in_files_share(file_service, directory_path, existing_dirs=N

parents = [directory_path]
p = os.path.dirname(directory_path)
while p:
# Stop once p reaches the root (dirname(p) == p), so the share root is never queued for creation
while p and p != os.path.dirname(p):
parents.append(p)
p = os.path.dirname(p)

Expand Down
Loading