Browse Source

Fix copy-paste error in xattr.py

Jonas Borgström 11 năm trước cách đây
mục cha
commit
0c278ad1fe
1 tập tin đã thay đổi với 0 bổ sung2 xóa
  1. 0 2
      attic/xattr.py

+ 0 - 2
attic/xattr.py

@@ -20,8 +20,6 @@ def is_enabled():
 
 
 def get_all(path, follow_symlinks=True):
-    return dict((name, getxattr(path, name, follow_symlinks=follow_symlinks))
-                for name in listxattr(path, follow_symlinks=follow_symlinks))
     try:
         return dict((name, getxattr(path, name, follow_symlinks=follow_symlinks))
                     for name in listxattr(path, follow_symlinks=follow_symlinks))