pkgcore.ebuild.filter_env module¶
Filter a bash environment dump.
- pkgcore.ebuild.filter_env.run(out, file_buff, var_match, func_match, global_envvar_callback=None, func_callback=None)[source]¶
Print a filtered environment.
- Parameters:
out – file-like object to write to.
file_buff – string containing the environment to filter. Should end in ‘'.
var_match – result of build_regex_string or C{None}, for variables.
func_match – result of build_regex_string or C{None}, for functions.