def _getconf(self, rscpath, logger=None, conf=None):
result = None<EOL>resource = self.pathresource(rscpath=rscpath, logger=logger)<EOL>if resource is not None:<EOL><INDENT>for cname in self._cnames(resource=resource):<EOL><INDENT>category = Category(name=cname)<EOL>if result is None:<EOL><INDENT>result = Configuration()<EOL><DEDENT>result += category<EOL>for param in self._params(resource=resource, cname=cname):<EOL><INDENT>if conf is not None:<EOL><INDENT>confparam = None<EOL>if cname in conf and param.name in conf[cname]:<EOL><INDENT>confparam = conf[cname][param.name]<EOL><DEDENT>else:<EOL><INDENT>confparam = conf.param(pname=param.name)<EOL><DEDENT>if confparam is not None:<EOL><INDENT>svalue = param.svalue<EOL>param.update(confparam)<EOL>if svalue is not None:<EOL><INDENT>param.svalue = svalue<EOL>param.resolve()<EOL><DEDENT><DEDENT><DEDENT>category += param<EOL><DEDENT><DEDENT><DEDENT>return result<EOL>
Get specific conf from one driver path.

        :param str rscpath: resource path.
        :param Logger logger: logger to use.