diff options
author | Zac Medico <zmedico@gentoo.org> | 2010-10-22 11:54:21 -0700 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2010-10-22 11:54:21 -0700 |
commit | 2a3135fc27c83ccae3228011f98191e5dbf475a5 (patch) | |
tree | 6fbed7674bec5fc244df03b256d8911bd78abd18 | |
parent | 8115a6ee3a88badf155953fed12043556f3dd61f (diff) | |
download | portage-2a3135fc27c83ccae3228011f98191e5dbf475a5.tar.gz portage-2a3135fc27c83ccae3228011f98191e5dbf475a5.tar.bz2 portage-2a3135fc27c83ccae3228011f98191e5dbf475a5.zip |
lock-helper.py: make locks quiet
-rwxr-xr-x | bin/lock-helper.py | 3 |
1 files changed, 3 insertions, 0 deletions
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() |