Răsfoiți Sursa

Fix copy-paste error in xattr.py

Jonas Borgström 11 ani în urmă
părinte
comite
0c278ad1fe
1 a modificat fișierele cu 0 adăugiri și 2 ștergeri
  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))