From 11db58166a3cd02d15c5609e7a291c7bb5aaf63a Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Thu, 25 Dec 2008 05:04:37 +0000 Subject: Don't add any more that one "-" symbol to the front of an unsupported EAPI. (trunk r12328) svn path=/main/branches/2.1.6/; revision=12334 --- 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) -- cgit v1.2.3-1-g7c22