Bläddra i källkod

remove unused no_lchflags_because

Thomas Waldmann 8 år sedan
förälder
incheckning
6f81d24324
1 ändrade filer med 0 tillägg och 2 borttagningar
  1. 0 2
      src/borg/testsuite/__init__.py

+ 0 - 2
src/borg/testsuite/__init__.py

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