Revert "Merge branch 'partial-update-on-input'"

This reverts commit a2cc828e58, reversing
changes made to 87f185e62b.
This commit is contained in:
Tobias Witek 2019-01-26 19:40:08 +01:00
parent a2cc828e58
commit 47eeac00a0
4 changed files with 30 additions and 64 deletions

View file

@ -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):