import os
from abc import ABCMeta, abstractmethod

from gitfs import  FuseMethodNotImplemented

class View(object):
    __metaclass__ = ABCMeta

    def __init__(self, *args, **kwargs):
        self.args = args

        for attr in kwargs:
            setattr(self, attr, kwargs[attr])

    def getxattr(self, path, name, position=0):
        """Get extended attributes"""

        raise FuseMethodNotImplemented

import os
from abc import ABCMeta, abstractmethod


class View(object):
    __metaclass__ = ABCMeta

    def __init__(self, *args, **kwargs):
        self.args = args

        for attr in kwargs:
            setattr(self, attr, kwargs[attr])

Remove the getxattr method.