def get_sources(self, prefix='<STR_LIT>'):
prefix = prefix.replace('<STR_LIT:->', '<STR_LIT:_>')<EOL>prefixed = '<STR_LIT>' % prefix<EOL>if prefixed in self.__cli:<EOL><INDENT>sources = self.__cli.get(prefixed)<EOL>from_conf = False<EOL><DEDENT>else:<EOL><INDENT>sources = self.__config.get(prefixed)<EOL>from_conf = True<EOL><DEDENT>if sources is None:<EOL><INDENT>return OrderedSet()<EOL><DEDENT>sources = self.__resolve_patterns(sources, from_conf)<EOL>prefixed = '<STR_LIT>' % prefix<EOL>if prefixed in self.__cli:<EOL><INDENT>filters = self.__cli.get(prefixed)<EOL>from_conf = False<EOL><DEDENT>else:<EOL><INDENT>filters = self.__config.get(prefixed)<EOL>from_conf = True<EOL><DEDENT>if filters is None:<EOL><INDENT>return sources<EOL><DEDENT>sources -= self.__resolve_patterns(filters, from_conf)<EOL>return sources<EOL>
Retrieve a set of absolute paths to sources, according to `prefix`

`ConfigParser` will perform wildcard expansion and
filtering.

Args:
    prefix: str, the desired prefix.

Returns:
    utils.utils.OrderedSet: The set of sources for the given
        `prefix`.