Skip to contentSkip to conversation

devtool: return both stdout and stderr

PATCH New Alexander Kanavin 1 participant 1 message Jan 2, 2022

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 devtool: return both stdout and stderr

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.

---
 modules/utils/devtool.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
modules/utils/devtool.py +1 -1
index 0d27bb0..c26061f 100644
@@ -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
Signature · 1 line
2.33.1