diff options
author | Zac Medico <zmedico@gentoo.org> | 2010-08-12 11:39:31 -0700 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2010-08-12 11:39:31 -0700 |
commit | b39ea65b4b40b73a79893f0c8b0c218b3f5ecc42 (patch) | |
tree | 2ac7a7e5aded6d4a52a2179676d703b8db1e24da | |
parent | 5642f59f83cb8854abaf288b1f2597075c5529cf (diff) | |
download | portage-b39ea65b4b40b73a79893f0c8b0c218b3f5ecc42.tar.gz portage-b39ea65b4b40b73a79893f0c8b0c218b3f5ecc42.tar.bz2 portage-b39ea65b4b40b73a79893f0c8b0c218b3f5ecc42.zip |
Make locks quiet since unintended locking messages displayed on
stdout could corrupt the intended output of this program.
-rwxr-xr-x | bin/ebuild-ipc.py | 3 |
1 files changed, 3 insertions, 0 deletions
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) |