Jonas Borgström 11 년 전
부모
커밋
c502481d5e
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      attic/xattr.py

+ 1 - 1
attic/xattr.py

@@ -66,7 +66,7 @@ if sys.platform.startswith('linux'):
         n2 = _check(func(path, namebuf, n), path)
         if n2 != n:
             raise Exception('listxattr failed')
-        return [os.fsdecode(name) for name in namebuf.raw.split(b'\0')[:-1] if not n.startswith(b'system.posix_acl_')]
+        return [os.fsdecode(name) for name in namebuf.raw.split(b'\0')[:-1] if not name.startswith(b'system.posix_acl_')]
 
     def getxattr(path, name, *, follow_symlinks=True):
         name = os.fsencode(name)