commit: f9f4109ac682b1bbd804e22f5bcd7362826edf08 Author: Brian Dolbec <brian.dolbec <AT> gmail <DOT> com> AuthorDate: Thu Jan 22 09:00:23 2026 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Thu Jan 22 19:06:29 2026 +0000 URL: https://gitweb.gentoo.org/proj/gentoolkit.git/commit/?id=f9f4109a
eprefix: black cleanup Signed-off-by: Brian Dolbec <brian.dolbec <AT> gmail.com> Part-of: https://github.com/gentoo/gentoolkit/pull/60 Closes: https://github.com/gentoo/gentoolkit/pull/60 Signed-off-by: Sam James <sam <AT> gentoo.org> pym/gentoolkit/eprefix.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pym/gentoolkit/eprefix.py b/pym/gentoolkit/eprefix.py index 868a780..2678060 100644 --- a/pym/gentoolkit/eprefix.py +++ b/pym/gentoolkit/eprefix.py @@ -9,9 +9,10 @@ used in all gentoolkit modules Example useage: from gentoolkit.eprefix import EPREFIX then in code add it to the filepath eg.: - exclude_file = "%s/etc/%s/%s.exclude" % (EPREFIX,__productname__ , action) + exclude_file = "%s/etc/%s/%s.exclude" % (EPREFIX,__productname__ , action) """ + # Load EPREFIX from Portage, fall back to the empty string if it fails try: from portage.const import EPREFIX
