Added a missing string format parmameter.

- Legacy-Id: 12116
This commit is contained in:
Henrik Levkowetz 2016-10-11 12:53:14 +00:00
parent f6ffc1ca10
commit e7b76917ae

View file

@ -24,7 +24,7 @@ def pipe(cmd, str=None):
err = pipe.childerr.read()
break
if len(out) >= MAX:
err = "Output exceeds %s bytes and has been truncated"
err = "Output exceeds %s bytes and has been truncated" % MAX
break
return (code, out, err)