diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2017-12-14 17:30:45 (GMT) |
---|---|---|
committer | Serhiy Storchaka <storchaka@gmail.com> | 2017-12-14 17:30:45 (GMT) |
commit | d1cb1067a82b11280204e36b695e786a5a3ca221 (patch) | |
tree | 8d05eb828598eead511e7dfea76784fd906b48ab /Modules | |
parent | 4f37105277e9c3d86c44ad385ad0f5e9b7768a85 (diff) | |
download | cpython-d1cb1067a82b11280204e36b695e786a5a3ca221.zip cpython-d1cb1067a82b11280204e36b695e786a5a3ca221.tar.gz cpython-d1cb1067a82b11280204e36b695e786a5a3ca221.tar.bz2 |
bpo-32277: Fix exception raised from chmod(..., follow_symlinks=False) (GH-4797) (#4869)
(cherry picked from commit 233ef249cc5c18d796fb581747179c5e062b4083)
Diffstat (limited to 'Modules')
-rw-r--r-- | Modules/posixmodule.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Modules/posixmodule.c b/Modules/posixmodule.c index ee27fa4..821b64c 100644 --- a/Modules/posixmodule.c +++ b/Modules/posixmodule.c @@ -2790,6 +2790,7 @@ os_chmod_impl(PyObject *module, path_t *path, int mode, int dir_fd, dir_fd, follow_symlinks); else follow_symlinks_specified("chmod", follow_symlinks); + return NULL; } else #endif |