human
Complete the below
def local_extra_dirs(func):

    ''''Non-local plugin decorator using local directories for the extra_dirs (job_work and temp).'
    '''
 Can you provide a the Python program you requested?
assistant
#Here is the Python program you requested.
    def wraps(self, *args, **kwargs):
        if (kwargs.get('base_dir', None) is None):
            return func(self, *args, **kwargs)
        else:
            for c in self.__class__.__mro__:
                if (c.__name__ == 'DiskObjectStore'):
                    return getattr(c, func.__name__)(self, *args, **kwargs)
            raise Exception(("Could    not    call    DiskObjectStore's    %s    method,    does    your    Object    Store    plugin    inherit    from    DiskObjectStore?" % func.__name__))
    return wraps