From: Zac Medico Date: Fri, 22 Oct 2010 18:54:21 +0000 (-0700) Subject: lock-helper.py: make locks quiet X-Git-Tag: v2.2.0_alpha1~4 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=2a3135fc27c83ccae3228011f98191e5dbf475a5;p=portage.git lock-helper.py: make locks quiet --- 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()