From b364d819a227af250f9e71c854718a25919dea00 Mon Sep 17 00:00:00 2001 From: owsla Date: Thu, 3 Jul 2008 21:44:19 +0000 Subject: Catch another reasonable error when reading extended attributes. git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/trunk@906 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109 --- rdiff-backup/rdiff_backup/eas_acls.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'rdiff-backup/rdiff_backup') diff --git a/rdiff-backup/rdiff_backup/eas_acls.py b/rdiff-backup/rdiff_backup/eas_acls.py index a6fac3d..5077b6a 100644 --- a/rdiff-backup/rdiff_backup/eas_acls.py +++ b/rdiff-backup/rdiff_backup/eas_acls.py @@ -58,7 +58,7 @@ class ExtendedAttributes: """Set the extended attributes from an rpath""" try: attr_list = rp.conn.xattr.listxattr(rp.path) except IOError, exc: - if exc[0] == errno.EOPNOTSUPP or exc[0] == errno.EPERM: + if exc[0] in (errno.EOPNOTSUPP, errno.EPERM, errno.ETXTBSY): return # if not supported, consider empty if exc[0] == errno.EACCES or exc[0] == errno.ENOENT: log.Log("Warning: listattr(%s): %s" % (repr(rp.path), exc), 3) -- cgit v1.2.1