Ver Fonte

xattr: don't log before logging is set up

Marian Beermann há 9 anos atrás
pai
commit
98530fffd3
1 ficheiros alterados com 0 adições e 2 exclusões
  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)