Keep 2_pre* EAPI values in the deprecated list so that uninstalls still
authorZac Medico <zmedico@gentoo.org>
Mon, 9 Feb 2009 09:05:38 +0000 (09:05 -0000)
committerZac Medico <zmedico@gentoo.org>
Mon, 9 Feb 2009 09:05:38 +0000 (09:05 -0000)
work normally.

svn path=/main/trunk/; revision=12595

pym/portage/__init__.py

index f5646491feb3a4528316c1927711a0c52a4f873f..8cb1953838f2d127a79d9940d1c07f8c99916372 100644 (file)
@@ -4819,7 +4819,7 @@ def _spawn_misc_sh(mysettings, commands, **kwargs):
                        eerror(l, phase=mydo, key=mysettings.mycpv)
        return rval
 
-_deprecated_eapis = frozenset()
+_deprecated_eapis = frozenset(["2_pre3", "2_pre2", "2_pre1"])
 
 def _eapi_is_deprecated(eapi):
        return eapi in _deprecated_eapis