summaryrefslogtreecommitdiffstats
path: root/bin/portageq
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2008-07-03 22:48:21 +0000
committerZac Medico <zmedico@gentoo.org>2008-07-03 22:48:21 +0000
commit354e3edebebbdb23007db0e4af2dd294fecd570b (patch)
tree2301b0e889a89c699f1c092160142b243f1b5df0 /bin/portageq
parentafc84a36ff6f3d14ddbbf99f1f901108ed033f49 (diff)
downloadportage-354e3edebebbdb23007db0e4af2dd294fecd570b.tar.gz
portage-354e3edebebbdb23007db0e4af2dd294fecd570b.tar.bz2
portage-354e3edebebbdb23007db0e4af2dd294fecd570b.zip
Bug #230469 - Implement non-blocking distlocks for --fetchonly. This adds
a "flags" keyword parameter to the portage.locks.lock() function. Default is flags=0. If flags contains os.O_NONBLOCK then lock() will raise portage.exception.TryAgain instead of blocking. This new flags parameter is used to implement non-blocking distlocks in fetch() when fetchonly mode is enabled. svn path=/main/trunk/; revision=10917
Diffstat (limited to 'bin/portageq')
0 files changed, 0 insertions, 0 deletions