From a387e8d7436af4080fbbe45f06473fe1d5a0c423 Mon Sep 17 00:00:00 2001 From: Eli Schwartz Date: Tue, 14 Sep 2021 00:57:30 -0400 Subject: [PATCH] fix traceback while trying to print error message --- mesonbuild/msubprojects.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mesonbuild/msubprojects.py b/mesonbuild/msubprojects.py index ea42b2433..997f58e32 100755 --- a/mesonbuild/msubprojects.py +++ b/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