From: Zac Medico Date: Thu, 12 Aug 2010 18:39:31 +0000 (-0700) Subject: Make locks quiet since unintended locking messages displayed on X-Git-Tag: v2.2_rc68~254 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=b39ea65b4b40b73a79893f0c8b0c218b3f5ecc42;p=portage.git Make locks quiet since unintended locking messages displayed on stdout could corrupt the intended output of this program. --- 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)