mirror of
https://github.com/Hopiu/linkchecker.git
synced 2026-04-12 10:30:58 +00:00
Add missing docstring.
This commit is contained in:
parent
39c39b1d9f
commit
c20005a031
1 changed files with 2 additions and 0 deletions
|
|
@ -23,6 +23,8 @@ def is_frozen ():
|
|||
|
||||
|
||||
def check_writable_by_others(filename):
|
||||
"""Check if file is writable by others on POSIX systems.
|
||||
On non-POSIX systems the check is ignored."""
|
||||
if os.name != 'posix':
|
||||
# XXX on non-posix systems other bits are relevant
|
||||
return
|
||||
|
|
|
|||
Loading…
Reference in a new issue