fix traceback while trying to print error message

pull/9256/head
Eli Schwartz 3 years ago
parent 2c34b2f063
commit a387e8d743
No known key found for this signature in database
GPG Key ID: CEB167EFB5722BD6
  1. 2
      mesonbuild/msubprojects.py

@ -155,7 +155,7 @@ class Runner:
self.git_stash()
self.git_output(['reset', '--hard', 'FETCH_HEAD'])
except GitException as e:
self.log(' -> Could not reset', mlog.bold(repo_dir), 'to', mlog.bold(revision))
self.log(' -> Could not reset', mlog.bold(self.repo_dir), 'to', mlog.bold(revision))
self.log(mlog.red(e.output))
self.log(mlog.red(str(e)))
return False

Loading…
Cancel
Save