59 |
try: attr_list = rp.conn.xattr.listxattr(rp.path) |
try: attr_list = rp.conn.xattr.listxattr(rp.path) |
60 |
except IOError, exc: |
except IOError, exc: |
61 |
if exc[0] == errno.EOPNOTSUPP: return # if not sup, consider empty |
if exc[0] == errno.EOPNOTSUPP: return # if not sup, consider empty |
62 |
|
if exc[0] == errno.EACCES: |
63 |
|
log.Log("Warning: listattr(%s): %s" % (rp.path, exc), 3) |
64 |
|
return |
65 |
raise |
raise |
66 |
for attr in attr_list: |
for attr in attr_list: |
67 |
if not attr.startswith('user.'): |
if not attr.startswith('user.'): |