projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bfd20c9
)
Add DeprecationWarning to dep_virtual function.
author
Zac Medico
<zmedico@gentoo.org>
Fri, 19 Feb 2010 22:07:57 +0000
(22:07 -0000)
committer
Zac Medico
<zmedico@gentoo.org>
Fri, 19 Feb 2010 22:07:57 +0000
(22:07 -0000)
svn path=/main/trunk/; revision=15403
pym/portage/__init__.py
patch
|
blob
|
history
diff --git
a/pym/portage/__init__.py
b/pym/portage/__init__.py
index a52e2ed4efb2a79c31c1ded2f9b6d4a8216664f1..654dc2c458c8b4b2816d97b9cf502b4d4f74a124 100644
(file)
--- a/
pym/portage/__init__.py
+++ b/
pym/portage/__init__.py
@@
-7774,6
+7774,8
@@
def unmerge(cat, pkg, myroot, mysettings, mytrimworld=1, vartree=None,
def dep_virtual(mysplit, mysettings):
"Does virtual dependency conversion"
+ warnings.warn("portage.dep_virtual() is deprecated",
+ DeprecationWarning, stacklevel=2)
newsplit=[]
myvirtuals = mysettings.getvirtuals()
for x in mysplit: