Message ID | 20220102162539.406212-1-alex.kanavin@gmail.com |
---|---|
State | New |
Headers | show |
Series | [auto-upgrade-helper] devtool: return both stdout and stderr | expand |
diff --git a/modules/utils/devtool.py b/modules/utils/devtool.py index 0d27bb0..c26061f 100644 --- a/modules/utils/devtool.py +++ b/modules/utils/devtool.py @@ -19,7 +19,7 @@ class Devtool(object): raise DevtoolError("The following devtool command failed: " + operation, e.stdout, e.stderr) - return stdout + return stdout + stderr def upgrade(self, recipe, version = None, revision = None): cmd = " upgrade " + recipe
At some point devtool started printing to stderr, which means patch rebase issues weren't anymore correctly caught, and bogus updates were being sent out. Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> --- modules/utils/devtool.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)