Commit c2c878d8 by rfkelly0

add "default" argument to fallback OSFSXAttrMixin

parent 25fc58e4
...@@ -53,7 +53,7 @@ else: ...@@ -53,7 +53,7 @@ else:
class OSFSXAttrMixin(object): class OSFSXAttrMixin(object):
"""Mixin disable extended-attribute support.""" """Mixin disable extended-attribute support."""
def getxattr(self,path,key): def getxattr(self,path,key,default=None):
raise UnsupportedError raise UnsupportedError
def setxattr(self,path,key,value): def setxattr(self,path,key,value):
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment