Преглед на файлове

remove unused no_lchflags_because

Thomas Waldmann преди 8 години
родител
ревизия
6f81d24324
променени са 1 файла, в които са добавени 0 реда и са изтрити 2 реда
  1. 0 2
      src/borg/testsuite/__init__.py

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

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