We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 639ed00 commit 6496038Copy full SHA for 6496038
mesonbuild/msubprojects.py
@@ -153,6 +153,11 @@ def update_wrapdb(self) -> bool:
153
try:
154
wrapdb_version = self.wrap.get('wrapdb_version')
155
branch, revision = wrapdb_version.split('-', 1)
156
+ except ValueError:
157
+ if not options.force:
158
+ self.log(' ->', mlog.red('Malformed wrapdb_version field, use --force to update any way'))
159
+ return False
160
+ branch = revision = None
161
except WrapException:
162
# Fallback to parsing the patch URL to determine current version.
163
# This won't work for projects that have upstream Meson support.
0 commit comments