aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild/msubprojects.py
diff options
context:
space:
mode:
authorEli Schwartz <eschwartz@archlinux.org>2021-09-14 00:57:30 -0400
committerEli Schwartz <eschwartz@archlinux.org>2021-09-14 15:50:29 -0400
commita387e8d7436af4080fbbe45f06473fe1d5a0c423 (patch)
tree565fc2ad7a27e722caddaf3ab31eebe4b01eac2d /mesonbuild/msubprojects.py
parent2c34b2f0637f68411adbf5bff3c5e35d3c9d1ce3 (diff)
downloadmeson-a387e8d7436af4080fbbe45f06473fe1d5a0c423.zip
meson-a387e8d7436af4080fbbe45f06473fe1d5a0c423.tar.gz
meson-a387e8d7436af4080fbbe45f06473fe1d5a0c423.tar.bz2
fix traceback while trying to print error message
Diffstat (limited to 'mesonbuild/msubprojects.py')
-rwxr-xr-xmesonbuild/msubprojects.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/mesonbuild/msubprojects.py b/mesonbuild/msubprojects.py
index ea42b24..997f58e 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