This func accepted these kwargs but forgot to pass them along to the
snakeoil layer.
---
 catalyst/fileops.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/catalyst/fileops.py b/catalyst/fileops.py
index 8a05985..5a1d0f3 100644
--- a/catalyst/fileops.py
+++ b/catalyst/fileops.py
@@ -42,7 +42,7 @@ def ensure_dirs(path, gid=-1, uid=-1, mode=0o755, 
minimal=True,
        :return: True if the directory could be created/ensured to have those
                permissions, False if not.
        '''
-       succeeded = snakeoil_ensure_dirs(path, gid=-1, uid=-1, mode=mode, 
minimal=True)
+       succeeded = snakeoil_ensure_dirs(path, gid=gid, uid=uid, mode=mode, 
minimal=minimal)
        if not succeeded:
                if failback:
                        failback()
-- 
2.5.2


Reply via email to