Gentoo Archives: gentoo-commits

From: "Anthony G. Basile" <blueness@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/grss:master commit in: grs/
Date: Mon, 06 Jul 2015 20:13:53
Message-Id: 1436213773.12dbe651f71a92b4210642204276ea8e5d8fd2ea.blueness@gentoo
1 commit: 12dbe651f71a92b4210642204276ea8e5d8fd2ea
2 Author: Anthony G. Basile <blueness <AT> gentoo <DOT> org>
3 AuthorDate: Mon Jul 6 20:16:13 2015 +0000
4 Commit: Anthony G. Basile <blueness <AT> gentoo <DOT> org>
5 CommitDate: Mon Jul 6 20:16:13 2015 +0000
6 URL: https://gitweb.gentoo.org/proj/grss.git/commit/?id=12dbe651
7
8 grs/Populate.py: fix clean_subdirs.
9
10 grs/Populate.py | 3 ++-
11 1 file changed, 2 insertions(+), 1 deletion(-)
12
13 diff --git a/grs/Populate.py b/grs/Populate.py
14 index 0271e74..b9c2323 100644
15 --- a/grs/Populate.py
16 +++ b/grs/Populate.py
17 @@ -73,8 +73,9 @@ class Populate():
18 gid = os.stat(path).st_gid
19 mode = os.stat(path).st_mode
20 shutil.rmtree(path)
21 - os.makedirs(path, mode=mode, exist_ok=False)
22 + os.mkdir(path)
23 os.chown(path, uid, gid)
24 + os.chmod(path, mode)
25
26
27 def clean(self):