gitclone: redirect git ouput to stdout.

To have logical output order, mostly for tests.
parent 269cd931
...@@ -198,7 +198,7 @@ class Recipe(object): ...@@ -198,7 +198,7 @@ class Recipe(object):
git_clone_command.extend(['--config', 'http.sslVerify=false']) git_clone_command.extend(['--config', 'http.sslVerify=false'])
try: try:
check_call(git_clone_command) check_call(git_clone_command, stdout=sys.stdout, stderr=sys.stdout)
if not os.path.exists(self.location): if not os.path.exists(self.location):
raise UserError("Unknown error while cloning repository.") raise UserError("Unknown error while cloning repository.")
if self.revision: if self.revision:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment