def get(self, section, option, as_list=False):
        '''
        Adds an optional "as_list" argument to ensure a list is returned. This
        is helpful when iterating over an option which may or may not be a
        multivar.
        '''
        ret = super(GitConfigParser, self).get(section, option)
        if as_list and not isinstance(ret, list):
            ret = [ret]
        return ret
def get ( self , section , option , as_list = False ) : ret = super ( GitConfigParser , self ) . get ( section , option ) if as_list and not isinstance ( ret , list ) : ret = [ ret ] return ret
Adds an optional "as_list" argument to ensure a list is returned. This
        is helpful when iterating over an option which may or may not be a
        multivar.