~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to utilities/shhh.py

  • Committer: Curtis Hovey
  • Date: 2011-12-28 17:03:06 UTC
  • mto: This revision was merged to the branch mainline in revision 14605.
  • Revision ID: curtis.hovey@canonical.com-20111228170306-n9fz94h85ckaoaf3
Separate test-authoring classes from test-running classes.

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