Explorar o código

Fix copy-paste error in xattr.py

Jonas Borgström %!s(int64=11) %!d(string=hai) anos
pai
achega
0c278ad1fe
Modificáronse 1 ficheiros con 0 adicións e 2 borrados
  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))