Merge pull request #77 from dreamhost/broken-loop
Fixing a case where you end up in an endless loop in certain scenarios
This commit is contained in:
commit
86041e8c50
@ -342,6 +342,7 @@ def mkdirslist(path):
|
||||
dirs_possible.add(path)
|
||||
while True:
|
||||
(base, _) = os.path.split(path)
|
||||
if not base: break
|
||||
dirs_possible.add(base)
|
||||
path = base
|
||||
if path == ROOT_PATH:
|
||||
|
Loading…
x
Reference in New Issue
Block a user