projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8115a6e
)
lock-helper.py: make locks quiet
author
Zac Medico
<zmedico@gentoo.org>
Fri, 22 Oct 2010 18:54:21 +0000
(11:54 -0700)
committer
Zac Medico
<zmedico@gentoo.org>
Fri, 22 Oct 2010 18:54:21 +0000
(11:54 -0700)
bin/lock-helper.py
patch
|
blob
|
history
diff --git
a/bin/lock-helper.py
b/bin/lock-helper.py
index 469d3a9da5921023f509591399af4031c36afa40..5f3ea9f0955665c459614ab923905a6c8e3d404c 100755
(executable)
--- a/
bin/lock-helper.py
+++ b/
bin/lock-helper.py
@@
-13,6
+13,9
@@
def main(args):
for i, x in enumerate(args):
args[i] = portage._unicode_decode(x, errors='strict')
+ # Make locks quiet since unintended locking messages displayed on
+ # stdout would corrupt the intended output of this program.
+ portage.locks._quiet = True
lock_obj = portage.locks.lockfile(args[0], wantnewlockfile=True)
sys.stdout.write('\0')
sys.stdout.flush()