Remove deprecated portage.getvirtuals
authorSebastian Luther <SebastianLuther@gmx.de>
Wed, 11 Aug 2010 06:02:41 +0000 (08:02 +0200)
committerZac Medico <zmedico@gentoo.org>
Wed, 11 Aug 2010 07:47:22 +0000 (00:47 -0700)
pym/portage/__init__.py
pym/portage/_deprecated.py

index a210535d3529344f2b9a18384ecbb1fba48bb907..1ca320eeb78273cb46868948028271b9c7dade14 100644 (file)
@@ -132,7 +132,7 @@ try:
                        'suffix_value@endversion,pkgcmp,pkgsplit,vercmp,ververify',
                'portage.xpak',
                'portage._deprecated:' + \
-                       'getvirtuals,pkgmerge',
+                       'pkgmerge',
        )
 
        import portage.const
index ef3061ceff2d4586b71d50bed36af4ba4f8fa09d..10c1610684d1a31c837947463861d3ab91c6bb46 100644 (file)
@@ -15,15 +15,6 @@ from portage.localization import _
 from portage.manifest import Manifest
 from portage.util import writemsg, writemsg_stdout
 
-def getvirtuals(myroot):
-       """
-       Calls portage.settings.getvirtuals().
-       @deprecated: Use portage.settings.getvirtuals().
-       """
-       warnings.warn("portage.getvirtuals() is deprecated",
-               DeprecationWarning, stacklevel=2)
-       return portage.settings.getvirtuals()
-
 def pkgmerge(mytbz2, myroot, mysettings, mydbapi=None,
        vartree=None, prev_mtimes=None, blockers=None):
        """will merge a .tbz2 file, returning a list of runtime dependencies