From: Sebastian Luther Date: Wed, 11 Aug 2010 06:02:41 +0000 (+0200) Subject: Remove deprecated portage.getvirtuals X-Git-Tag: v2.2_rc68~313 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=eb9702137bad657da10f6af685c6f1d3b3b1a0e5;p=portage.git Remove deprecated portage.getvirtuals --- 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