[varLib] Assert that we found the base master

This commit is contained in:
Behdad Esfahbod 2016-04-17 11:53:20 -07:00
parent f7bfaff29c
commit 2312880d79

View File

@ -400,6 +400,7 @@ def main(args=None):
outfile = os.path.splitext(designspace_filename)[0] + '-GX.ttf'
masters, instances, base_idx = designspace_load(designspace_filename)
assert base_idx is not None, "Cannot find 'base' master; Add <info> element to one of the masters in the .designspace document."
from pprint import pprint
print("Masters:")