Gentoo Archives: gentoo-commits

From: "Zac Medico (zmedico)" <zmedico@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] portage r12334 - main/branches/2.1.6/pym/portage/cache
Date: Thu, 25 Dec 2008 05:04:46
Message-Id: E1LFiOk-0007EG-CI@stork.gentoo.org
1 Author: zmedico
2 Date: 2008-12-25 05:04:37 +0000 (Thu, 25 Dec 2008)
3 New Revision: 12334
4
5 Modified:
6 main/branches/2.1.6/pym/portage/cache/util.py
7 Log:
8 Don't add any more that one "-" symbol to the front of an unsupported EAPI.
9 (trunk r12328)
10
11 Modified: main/branches/2.1.6/pym/portage/cache/util.py
12 ===================================================================
13 --- main/branches/2.1.6/pym/portage/cache/util.py 2008-12-25 05:04:15 UTC (rev 12333)
14 +++ main/branches/2.1.6/pym/portage/cache/util.py 2008-12-25 05:04:37 UTC (rev 12334)
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)