summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--pym/portage/__init__.py2
-rw-r--r--pym/portage/_deprecated.py9
2 files changed, 1 insertions, 10 deletions
diff --git a/pym/portage/__init__.py b/pym/portage/__init__.py
index a210535d3..1ca320eeb 100644
--- a/pym/portage/__init__.py
+++ b/pym/portage/__init__.py
@@ -132,7 +132,7 @@ try:
'suffix_value@endversion,pkgcmp,pkgsplit,vercmp,ververify',
'portage.xpak',
'portage._deprecated:' + \
- 'getvirtuals,pkgmerge',
+ 'pkgmerge',
)
import portage.const
diff --git a/pym/portage/_deprecated.py b/pym/portage/_deprecated.py
index ef3061cef..10c161068 100644
--- a/pym/portage/_deprecated.py
+++ b/pym/portage/_deprecated.py
@@ -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