summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorPedro Alvarez <pedro.alvarez@codethink.co.uk>2015-11-23 10:36:23 (GMT)
committerPedro Alvarez <pedro.alvarez@codethink.co.uk>2015-11-23 10:37:26 (GMT)
commit94c1d3c8d39b0d4b8f8d845d98a53c88e41aed7e (patch)
tree4382f37f93368131e6320d6bedbd5a4e8bc98f1b /scripts
parent2708be3df0ecafc70046212c627ede87bd3e6487 (diff)
downloaddefinitions-94c1d3c8d39b0d4b8f8d845d98a53c88e41aed7e.tar.gz
Fix various release scripts: read_morphology is now read_file
Change-Id: I28cdd26385ada1ed98f3e7ead8085f2678507f16
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/release-test2
-rwxr-xr-xscripts/release-test-os2
-rwxr-xr-xscripts/release-upload2
3 files changed, 3 insertions, 3 deletions
diff --git a/scripts/release-test b/scripts/release-test
index a161172..ad9b2e0 100755
--- a/scripts/release-test
+++ b/scripts/release-test
@@ -45,7 +45,7 @@ class MorphologyHelper(object):
self.finder = morphlib.morphologyfinder.MorphologyFinder(self.defs_repo)
def load_morphology(self, path):
- text = self.finder.read_morphology(path)
+ text = self.finder.read_file(path)
return self.loader.load_from_string(text)
@classmethod
diff --git a/scripts/release-test-os b/scripts/release-test-os
index a886300..06e01da 100755
--- a/scripts/release-test-os
+++ b/scripts/release-test-os
@@ -108,7 +108,7 @@ class MorphologyHelper(object):
self.finder = morphlib.morphologyfinder.MorphologyFinder(self.defs_repo)
def load_morphology(self, path):
- text = self.finder.read_morphology(path)
+ text = self.finder.read_file(path)
return self.loader.load_from_string(text)
@classmethod
diff --git a/scripts/release-upload b/scripts/release-upload
index 273f9ed..9e080fa 100755
--- a/scripts/release-upload
+++ b/scripts/release-upload
@@ -272,7 +272,7 @@ class BuildArtifactPublisher(object):
def load_morphology_from_named_file(self, pathname):
finder = self.get_morphology_finder_for_root_repository()
- morphology_text = finder.read_morphology(pathname)
+ morphology_text = finder.read_file(pathname)
loader = morphlib.morphloader.MorphologyLoader()
return loader.load_from_string(morphology_text)