~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to utilities/shhh.py

  • Committer: Ian Booth
  • Date: 2011-12-23 13:48:28 UTC
  • mto: This revision was merged to the branch mainline in revision 14595.
  • Revision ID: ian.booth@canonical.com-20111223134828-i6tlk56o433bstng
Write tests to ensure limited view permission for teams works with the API

Show diffs side-by-side

added added

removed removed

Lines of Context:
9
9
 
10
10
__metaclass__ = type
11
11
 
12
 
from subprocess import (
13
 
    PIPE,
14
 
    Popen,
15
 
    )
16
12
import sys
17
 
 
 
13
from subprocess import Popen, PIPE
18
14
 
19
15
def shhh(cmd):
20
16
    r"""Run a command and suppress output unless it returns a non-zero exitcode