typo in stat.executable (was stat.excutable) (#4886)
I didn't actually run this because it's so simple, but it seems correct.
This commit is contained in:
parent
ea76dedadf
commit
7ca911d345
1 changed files with 1 additions and 1 deletions
|
@ -369,7 +369,7 @@ def format_output(module, path, st, follow, get_md5, get_checksum,
|
||||||
isgid=bool(mode & stat.S_ISGID),
|
isgid=bool(mode & stat.S_ISGID),
|
||||||
readable=os.access(path, os.R_OK),
|
readable=os.access(path, os.R_OK),
|
||||||
writeable=os.access(path, os.W_OK),
|
writeable=os.access(path, os.W_OK),
|
||||||
excutable=os.access(path, os.X_OK),
|
executable=os.access(path, os.X_OK),
|
||||||
)
|
)
|
||||||
|
|
||||||
if stat.S_ISLNK(mode):
|
if stat.S_ISLNK(mode):
|
||||||
|
|
Loading…
Reference in a new issue