Skip to content

Commit 63d2a19

Browse files
Error output fix (#87)
* Use a git log command that works on git 1.8.x and 2.x * Use a git log command that works on git 1.8.x and 2.x * Use a git log command that works on git 1.8.x and 2.x * Use a git log command that works on git 1.8.x and 2.x * Use a git log command that works on git 1.8.x and 2.x * Add type check fixes. * Add type check fixes. * build fix * build fix * build fix * Add release tagging * Add release tagging Minor updates * Add release tagging * Add release tagging * Bandit checks * Git tagging fix * Git tagging fix * Git tagging fix * Make tagging work if ssh is setup by the screwdriver server setup. * Support the old package publish environment setting variable so old templates don't break. * Don't run the validation on centos 5 since it doesn't work. * Don't run the validation on centos 5 since it doesn't work. * Remove debug print * Don't override the package version * Display a message when changing the metadata in screwdriver. * - Make the release tagger use the Versioner class to get the metadata version so there aren't multiple implementations of the same thing. - Update the Versioner base class to allow specifying the meta command as an argument. To simplify writing tests. * Don't output the bytestring as output but the string instead
1 parent d43f3a5 commit 63d2a19

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • src/screwdrivercd/utility

src/screwdrivercd/utility/run.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,5 +37,5 @@ def run_and_log_output(command: List[str], logfile: str, print_errors: bool=True
3737
print(f'Command {command!r} failed', flush=True)
3838
fh.write(error.stdout)
3939
if print_errors and error.stdout: # pragma: no cover
40-
print(error.stdout)
40+
print(error.stdout.decode(errors='ignore'))
4141
raise error

0 commit comments

Comments
 (0)