X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=system%2Futils.py;h=073c55151700954c1872cb5d8c2587cd2484db28;hb=7cb5321fd0a37a1a75fdce9a5e79d31dc88493ab;hp=cc033184acfd946e0c25ae935af4459a9669834c;hpb=0d1181548b8fc5297b4d026f508581014951d17c;p=tests.git diff --git a/system/utils.py b/system/utils.py index cc03318..073c551 100644 --- a/system/utils.py +++ b/system/utils.py @@ -44,15 +44,10 @@ def system(command,background=False,silent=False): ### WARNING : this ALWAYS does its job, even in dry_run mode def output_of (command): import commands -# if options.dry_run: -# print 'dry_run',command -# return (0,'[[dry-run - fake output]]') -# else: (code,string) = commands.getstatusoutput(command) return (code,string) - # convenience: translating shell-like pattern into regexp def match (string, pattern): # tmp - there's probably much simpler