Gentoo Archives: gentoo-commits

From: "Zac Medico (zmedico)" <zmedico@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] portage r12328 - main/trunk/pym/portage/cache
Date: Thu, 25 Dec 2008 02:53:15
Message-Id: E1LFgLa-00041S-5g@stork.gentoo.org
1 Author: zmedico
2 Date: 2008-12-25 02:53:13 +0000 (Thu, 25 Dec 2008)
3 New Revision: 12328
4
5 Modified:
6 main/trunk/pym/portage/cache/util.py
7 Log:
8 Don't add any more that one "-" symbol to the front of an unsupported EAPI.
9
10
11 Modified: main/trunk/pym/portage/cache/util.py
12 ===================================================================
13 --- main/trunk/pym/portage/cache/util.py 2008-12-25 02:29:45 UTC (rev 12327)
14 +++ main/trunk/pym/portage/cache/util.py 2008-12-25 02:53:13 UTC (rev 12328)
15 @@ -103,7 +103,7 @@
16 if not eapi_is_supported(eapi):
17 for k in set(entry).difference(("_mtime_", "_eclasses_")):
18 entry[k] = ""
19 - entry["EAPI"] = "-" + eapi
20 + entry["EAPI"] = "-" + eapi.lstrip("-")
21
22 # by this time, if it reaches here, the eclass has been validated, and the entry has
23 # been updated/translated (if needs be, for metadata/cache mainly)