From ff3b62faa19303bfdc36c961e3e9c2fc6f74074f Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Thu, 25 Dec 2008 02:53:13 +0000 Subject: [PATCH] Don't add any more that one "-" symbol to the front of an unsupported EAPI. svn path=/main/trunk/; revision=12328 --- pym/portage/cache/util.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pym/portage/cache/util.py b/pym/portage/cache/util.py index 7e8310014..26bc5f9e0 100644 --- a/pym/portage/cache/util.py +++ b/pym/portage/cache/util.py @@ -103,7 +103,7 @@ def mirror_cache(valid_nodes_iterable, src_cache, trg_cache, eclass_cache=None, if not eapi_is_supported(eapi): for k in set(entry).difference(("_mtime_", "_eclasses_")): entry[k] = "" - entry["EAPI"] = "-" + eapi + entry["EAPI"] = "-" + eapi.lstrip("-") # by this time, if it reaches here, the eclass has been validated, and the entry has # been updated/translated (if needs be, for metadata/cache mainly) -- 2.26.2