summaryrefslogtreecommitdiffstats
path: root/pym
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2009-03-18 22:31:39 +0000
committerZac Medico <zmedico@gentoo.org>2009-03-18 22:31:39 +0000
commitf1633f58bdc23476f691cce0f0efaaeab808535c (patch)
tree5130dbc22a208ae24db2c769e7ceb92b880fe5a1 /pym
parentc9ca6d6c6e5117ea85d844961c38048e380de25b (diff)
downloadportage-f1633f58bdc23476f691cce0f0efaaeab808535c.tar.gz
portage-f1633f58bdc23476f691cce0f0efaaeab808535c.tar.bz2
portage-f1633f58bdc23476f691cce0f0efaaeab808535c.zip
Add docstrings for the fd_pipes and returnpid parameters of doebuild().
svn path=/main/trunk/; revision=13135
Diffstat (limited to 'pym')
-rw-r--r--pym/portage/__init__.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/pym/portage/__init__.py b/pym/portage/__init__.py
index 100299482..bfa48c94d 100644
--- a/pym/portage/__init__.py
+++ b/pym/portage/__init__.py
@@ -5519,6 +5519,13 @@ def doebuild(myebuild, mydo, myroot, mysettings, debug=0, listonly=0,
@type vartree: vartree instance
@param prev_mtimes: A dict of { filename:mtime } keys used by merge() to do config_protection
@type prev_mtimes: dictionary
+ @param fd_pipes: A dict of mapping for pipes, { '0': stdin, '1': stdout }
+ for example.
+ @type fd_pipes: Dictionary
+ @param returnpid: Return a list of process IDs for a successful spawn, or
+ in integer value if spawn is unsuccessful. NOTE: This requires the
+ caller clean up all returned PIDs.
+ @type returnpid: Boolean
@rtype: Boolean
@returns:
1. 0 for success