1
0
Fork 0
mirror of https://github.com/borgbackup/borg.git synced 2025-01-24 08:19:03 +00:00

Fix copy-paste error in xattr.py

This commit is contained in:
Jonas Borgström 2013-09-01 22:13:46 +02:00
parent 8a29017910
commit 0c278ad1fe

View file

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