From 2a3135fc27c83ccae3228011f98191e5dbf475a5 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Fri, 22 Oct 2010 11:54:21 -0700 Subject: lock-helper.py: make locks quiet --- bin/lock-helper.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/bin/lock-helper.py b/bin/lock-helper.py index 469d3a9da..5f3ea9f09 100755 --- 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() -- cgit v1.2.3-1-g7c22