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:
Joshua Harlow 2012-03-12 15:28:13 -07:00
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: