Explorar el Código

Merge pull request #1318 from enkore/issue/1314

xattr: don't log before logging is set up
TW hace 9 años
padre
commit
e28c2d4c36
Se han modificado 1 ficheros con 0 adiciones y 2 borrados
  1. 0 2
      borg/xattr.py

+ 0 - 2
borg/xattr.py

@@ -63,12 +63,10 @@ if sys.platform.startswith('linux') and 'fakeroot' in LD_PRELOAD:
         libc_name = LD_PRELOAD
         XATTR_FAKEROOT = True
 
-
 try:
     libc = CDLL(libc_name, use_errno=True)
 except OSError as e:
     msg = "Can't find C library [%s]. Try installing ldconfig, gcc/cc or objdump." % e
-    logger.error(msg)
     raise Exception(msg)