Merge pull request #1318 from enkore/issue/1314

xattr: don't log before logging is set up
This commit is contained in:
TW 2016-07-12 14:09:06 +02:00 committed by GitHub
commit e28c2d4c36
1 changed files with 0 additions and 2 deletions

View File

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