projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6fa86ca
)
Deprecate doebuild() with returnpid.
author
Zac Medico
<zmedico@gentoo.org>
Fri, 1 Oct 2010 01:17:32 +0000
(18:17 -0700)
committer
Zac Medico
<zmedico@gentoo.org>
Tue, 5 Oct 2010 15:58:22 +0000
(08:58 -0700)
pym/portage/package/ebuild/doebuild.py
patch
|
blob
|
history
diff --git
a/pym/portage/package/ebuild/doebuild.py
b/pym/portage/package/ebuild/doebuild.py
index f874806a74608af059e6cea849351340d32b4d42..d39ce922ff10e2dd28f0d02c445f909e5924bf00 100644
(file)
--- a/
pym/portage/package/ebuild/doebuild.py
+++ b/
pym/portage/package/ebuild/doebuild.py
@@
-422,6
+422,12
@@
def doebuild(myebuild, mydo, myroot, mysettings, debug=0, listonly=0,
writemsg("\n", noiselevel=-1)
return 1
+ if returnpid and mydo != 'depend':
+ warnings.warn("portage.doebuild() called " + \
+ "with returnpid parameter enabled. This usage will " + \
+ "not be supported in the future.",
+ DeprecationWarning, stacklevel=2)
+
if mydo == "fetchall":
fetchall = 1
mydo = "fetch"