Merge branch 'merge' into merge-all

This commit is contained in:
Thomas Waldmann 2015-03-18 17:49:23 +01:00
commit ae62e3c84c

View file

@ -248,4 +248,14 @@ elif sys.platform.startswith('freebsd'):
_check(func(path, EXTATTR_NAMESPACE_USER, name, value, len(value) if value else 0), path)
else:
raise Exception('Unsupported platform: %s' % sys.platform)
# this is a dummy xattr interface for platforms for which we do not have
# a real implementation (or which do not support xattr at all).
def listxattr(path, *, follow_symlinks=True):
return []
def getxattr(path, name, *, follow_symlinks=True):
return
def setxattr(path, name, value, *, follow_symlinks=True):
return