Revert "Merge branch 'partial-update-on-input'"
This reverts commita2cc828e58
, reversing changes made to87f185e62b
.
This commit is contained in:
parent
a2cc828e58
commit
47eeac00a0
4 changed files with 30 additions and 64 deletions
|
@ -20,6 +20,7 @@ def asbool(val):
|
|||
return val in ("t", "true", "y", "yes", "on", "1")
|
||||
|
||||
def execute(cmd, wait=True):
|
||||
logging.info("executing command '{}'".format(cmd))
|
||||
args = shlex.split(cmd)
|
||||
proc = subprocess.Popen(args, stdout=subprocess.PIPE, stderr=subprocess.STDOUT)
|
||||
rv = None
|
||||
|
@ -34,6 +35,7 @@ def execute(cmd, wait=True):
|
|||
else:
|
||||
rv = out
|
||||
|
||||
logging.info(u"command returned '{}'".format("" if not rv else rv))
|
||||
return rv
|
||||
|
||||
def bytefmt(num):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue