diff --git a/pungi/wrappers/scm.py b/pungi/wrappers/scm.py index bdcf9b60..966dbc51 100644 --- a/pungi/wrappers/scm.py +++ b/pungi/wrappers/scm.py @@ -44,10 +44,9 @@ class ScmBase(kobo.log.LoggingBase): def run_process_command(self, cwd): if self.command: self.log_debug('Running "%s"' % self.command) - retcode, output = run(self.command, workdir=cwd, can_fail=True, - universal_newlines=True) + retcode, output = run(self.command, workdir=cwd, can_fail=True) if retcode != 0: - self.log_error('Output was: "%s"' % output) + self.log_error('Output was: %r' % output) raise RuntimeError('%r failed with exit code %s' % (self.command, retcode))