projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5642f59
)
Make locks quiet since unintended locking messages displayed on
author
Zac Medico
<zmedico@gentoo.org>
Thu, 12 Aug 2010 18:39:31 +0000
(11:39 -0700)
committer
Zac Medico
<zmedico@gentoo.org>
Thu, 12 Aug 2010 18:39:31 +0000
(11:39 -0700)
stdout could corrupt the intended output of this program.
bin/ebuild-ipc.py
patch
|
blob
|
history
diff --git
a/bin/ebuild-ipc.py
b/bin/ebuild-ipc.py
index 43a52658230cd576b1815ce434fda5fdde19786e..2edd6655955ec2c0d7e83885ba08e809db311b32 100755
(executable)
--- a/
bin/ebuild-ipc.py
+++ b/
bin/ebuild-ipc.py
@@
-31,6
+31,9
@@
class EbuildIpc(object):
self.ipc_lock_file = os.path.join(self.fifo_dir, '.ipc_lock')
def communicate(self, args):
+ # Make locks quiet since unintended locking messages displayed on
+ # stdout could corrupt the intended output of this program.
+ portage.locks._quiet = True
lock_obj = portage.locks.lockfile(self.ipc_lock_file, unlinkfile=True)
try:
return self._communicate(args)