From b39ea65b4b40b73a79893f0c8b0c218b3f5ecc42 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Thu, 12 Aug 2010 11:39:31 -0700 Subject: [PATCH] Make locks quiet since unintended locking messages displayed on stdout could corrupt the intended output of this program. --- bin/ebuild-ipc.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/bin/ebuild-ipc.py b/bin/ebuild-ipc.py index 43a526582..2edd66559 100755 --- 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) -- 2.26.2