remove unused no_lchflags_because

This commit is contained in:
Thomas Waldmann 2017-05-18 03:05:19 +02:00
parent efec00b39c
commit 6f81d24324
1 changed files with 0 additions and 2 deletions

View File

@ -30,13 +30,11 @@ except ImportError:
raises = None
has_lchflags = hasattr(os, 'lchflags') or sys.platform.startswith('linux')
no_lchlfags_because = '' if has_lchflags else '(not supported on this platform)'
try:
with tempfile.NamedTemporaryFile() as file:
platform.set_flags(file.name, stat.UF_NODUMP)
except OSError:
has_lchflags = False
no_lchlfags_because = '(the file system at %s does not support flags)' % tempfile.gettempdir()
try:
import llfuse