Revision d5a9b556 qa/qa_utils.py
b/qa/qa_utils.py | ||
---|---|---|
45 | 45 |
from ganeti import pathutils |
46 | 46 |
from ganeti import vcluster |
47 | 47 |
|
48 |
import colors |
|
48 | 49 |
import qa_config |
49 | 50 |
import qa_error |
50 | 51 |
|
... | ... | |
285 | 286 |
pcmd = [i for i in cmd if not i.startswith("-")] |
286 | 287 |
else: |
287 | 288 |
pcmd = cmd |
288 |
print "Command: %s" % utils.ShellQuoteArgs(pcmd) |
|
289 |
print "%s %s" % (colors.colorize("Command:", colors.CYAN), |
|
290 |
utils.ShellQuoteArgs(pcmd)) |
|
289 | 291 |
return subprocess.Popen(cmd, shell=False, **kwargs) |
290 | 292 |
|
291 | 293 |
|
Also available in: Unified diff