Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-15-SP5:GA
koan.15447
decode-subprocess_get_response-results.diff
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File decode-subprocess_get_response-results.diff of Package koan.15447
From f80e299b2990e7ce21bdb6b154c1acf4890ad448 Mon Sep 17 00:00:00 2001 From: Orion Poplawski <orion@nwra.com> Date: Thu, 24 Oct 2019 15:46:05 -0600 Subject: [PATCH] Also decode subprocess_get_response results --- koan/utils.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) Index: koan-2.9.0/koan/utils.py =================================================================== --- koan-2.9.0.orig/koan/utils.py +++ koan-2.9.0/koan/utils.py @@ -174,8 +174,8 @@ def subprocess_get_response(cmd, ignore_ if not ignore_rc and rc != 0: raise InfoException("command failed (%s)" % rc) if get_stderr: - return rc, result, stderr_result - return rc, result + return rc, result.decode(), stderr_result.decode() + return rc, result.decode() def input_string_or_dict(options, delim=None, allow_multiples=True):
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor