From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 6A80313888F for ; Tue, 6 Oct 2015 15:31:34 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 5316221C041; Tue, 6 Oct 2015 15:31:31 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 2AAD221C03A for ; Tue, 6 Oct 2015 15:31:30 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 686BF340B34 for ; Tue, 6 Oct 2015 15:31:29 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 6968AAD2 for ; Tue, 6 Oct 2015 15:31:26 +0000 (UTC) From: "Mike Frysinger" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Mike Frysinger" Message-ID: <1444140725.4bc5a844fd340a3bd9b842678702fa6abf1b6b18.vapier@gentoo> Subject: [gentoo-commits] proj/catalyst:master commit in: catalyst/ X-VCS-Repository: proj/catalyst X-VCS-Files: catalyst/fileops.py X-VCS-Directories: catalyst/ X-VCS-Committer: vapier X-VCS-Committer-Name: Mike Frysinger X-VCS-Revision: 4bc5a844fd340a3bd9b842678702fa6abf1b6b18 X-VCS-Branch: master Date: Tue, 6 Oct 2015 15:31:26 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: ac9b3330-e231-4a72-ad4f-1c2cbb151773 X-Archives-Hash: d035b3f4a70a41bbb66d2e1796eeb14c commit: 4bc5a844fd340a3bd9b842678702fa6abf1b6b18 Author: Mike Frysinger gentoo org> AuthorDate: Tue Oct 6 14:12:05 2015 +0000 Commit: Mike Frysinger gentoo org> CommitDate: Tue Oct 6 14:12:05 2015 +0000 URL: https://gitweb.gentoo.org/proj/catalyst.git/commit/?id=4bc5a844 fileops: fix passing of gid/uid/minimal args 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()