diff options
author | Anthony G. Basile <blueness@gentoo.org> | 2015-07-06 16:16:13 -0400 |
---|---|---|
committer | Anthony G. Basile <blueness@gentoo.org> | 2015-07-06 16:16:13 -0400 |
commit | 12dbe651f71a92b4210642204276ea8e5d8fd2ea (patch) | |
tree | 77d860237c55ebda4eb8419afd8c43e0c675909b /grs | |
parent | grsup: change to -D to download all binpkgs. (diff) | |
download | grss-12dbe651f71a92b4210642204276ea8e5d8fd2ea.tar.gz grss-12dbe651f71a92b4210642204276ea8e5d8fd2ea.tar.bz2 grss-12dbe651f71a92b4210642204276ea8e5d8fd2ea.zip |
grs/Populate.py: fix clean_subdirs.
Diffstat (limited to 'grs')
-rw-r--r-- | grs/Populate.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/grs/Populate.py b/grs/Populate.py index 0271e74..b9c2323 100644 --- a/grs/Populate.py +++ b/grs/Populate.py @@ -73,8 +73,9 @@ class Populate(): gid = os.stat(path).st_gid mode = os.stat(path).st_mode shutil.rmtree(path) - os.makedirs(path, mode=mode, exist_ok=False) + os.mkdir(path) os.chown(path, uid, gid) + os.chmod(path, mode) def clean(self): |