summaryrefslogtreecommitdiffstats
path: root/pym/_emerge/SubProcess.py
Commit message (Collapse)AuthorAgeFilesLines
* SubProcess: fix status for _set_returncode callerZac Medico2011-06-091-2/+2
| | | | | | These callers don't intend to make WIFSIGNALED return True, so they need to shift their codes 8 bits to the left. This ensures that commit 88f5bf84e2fd23125910b2ecaffc035971445696 behaves as intended.
* SubProcess: make returncode like PopenZac Medico2011-06-091-6/+10
|
* AsynchronousTask: add _cancel template methodZac Medico2011-03-161-3/+1
|
* AsynchronousTask: always call wait() if cancelledZac Medico2011-03-161-5/+1
| | | | | | This is needed in order to ensure that exit listeners are called. Subclasses call the base class cancel() method in order to inherit the wait() call.
* Update date headers in modified files.Zac Medico2011-02-211-1/+1
|
* SubProcess: notify exit listeners in _pollZac Medico2011-02-201-0/+1
|
* With waitpid and WNOHANG, only check the first element of the tuplev2.2_rc85Zac Medico2010-09-191-2/+8
| | | | since the second element may vary (bug #337465, comment #12).
* Remove PollScheduler._schedule_waitpid() since this case isn't triggeredZac Medico2010-08-151-1/+1
| | | | | | anymore, now that PollScheduler._unregister() has be fixed to discard unhandled events (so that reallocation of file descriptors no longer triggers erroneous delivery of stale events).
* Add a PollScheduler._schedule_waitpid() method for SubProcess._wait()Zac Medico2010-08-141-2/+13
| | | | | to use as an alternative to hanging up the scheduler in a blocking waitpid call.
* Rename SubProcess._zombie() to _orphan_process_warn() and clarifyZac Medico2010-08-131-2/+2
| | | | the eerror message.
* Bug #278895 - After EbuildIpcDaemon identifies an ebuild process thatZac Medico2010-08-131-1/+18
| | | | | has left an orphan child process running in the background, generate an eerror message about a 'zombie' process and note the pid.
* Remove all svn $Id keywords.Zac Medico2010-03-241-1/+0
|
* Use dict.(keys|values|items)() instead of ↵Arfrever Frehtes Taifersar Arahesis2009-09-211-1/+1
| | | | | | | | dict.(iterkeys|itervalues|iteritems)() for compatibility with Python 3. (2to3-3.1 -f dict -nw ${FILES}) svn path=/main/trunk/; revision=14327
* Update syntax of 'except' statements for compatibility with Python 3.Arfrever Frehtes Taifersar Arahesis2009-09-201-3/+3
| | | | | | (2to3-3.1 -f except -nw ${FILES}) svn path=/main/trunk/; revision=14289
* Update imports to import portage.os (with unicode wrappers), and useZac Medico2009-08-111-1/+2
| | | | | | _unicode_encode() and _unicode_decode() where appropriate. svn path=/main/trunk/; revision=13994
* Add/update copyright headers.Zac Medico2009-06-251-0/+4
| | | | svn path=/main/trunk/; revision=13690
* Bug #275047 - Split _emerge/__init__.py into smaller pieces. Thanks toZac Medico2009-06-221-0/+104
Sebastian Mingramm (few) <s.mingramm@gmx.de> for this patch. svn path=/main/trunk/; revision=13663