Add missing docstring.

This commit is contained in:
Bastian Kleineidam 2014-03-01 19:14:43 +01:00
parent 39c39b1d9f
commit c20005a031

View file

@ -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