diff options
author | Sam Thursfield <sam.thursfield@codethink.co.uk> | 2015-12-21 16:53:31 +0000 |
---|---|---|
committer | Sam Thursfield <sam.thursfield@codethink.co.uk> | 2015-12-21 17:37:31 +0000 |
commit | 68261f05566f82ea92ba00eb1450c2b2d8d8e42b (patch) | |
tree | 367720551f03fa19f8fc81b4be33fd17e431a824 /scripts | |
parent | 6f4849a91e62a4ec083a82f443c2b34a2f2b7e71 (diff) | |
download | definitions-68261f05566f82ea92ba00eb1450c2b2d8d8e42b.tar.gz |
scripts/release-build: Load morph files 'correctly'
Recent changes in the definitions format have added VERSION and CHANGES
files. The morphlib API needs to be used slightly differently as a
result.
This change should have no effect on the operation of the script right
now, but it may prevent problems in future.
Change-Id: I0011eddfeb3a5f14fde36eac4f970d8b3c95984c
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/release-build | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/release-build b/scripts/release-build index d199b4a0..c45dc15b 100755 --- a/scripts/release-build +++ b/scripts/release-build @@ -89,7 +89,7 @@ class ReleaseApp(cliapp.Application): defs_repo = morphlib.definitions_repo.open( '.', search_for_root=True) - self.loader = morphlib.morphloader.MorphologyLoader() + self.loader = defs_repo.get_morphology_loader() self.finder = morphlib.morphologyfinder.MorphologyFinder(defs_repo) self.check_args(args) |