summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Ipsum <richard.ipsum@codethink.co.uk>2015-10-16 11:12:23 +0000
committerRichard Ipsum <richard.ipsum@codethink.co.uk>2015-10-16 15:43:32 +0000
commitff9619a94f10c3ae757da6e3634a3de608e263b7 (patch)
treeb1170f2e0a9739fdefa76b2fad81265767af0cda
parenta5c7071be3e19872af15a31605b3f3eaaa33bdc2 (diff)
downloadimport-ff9619a94f10c3ae757da6e3634a3de608e263b7.tar.gz
Fix morphsetondisk: read_morphology is now read_file
Change-Id: I55f6240c9af720103afb8e91629a2a46cf8d3796
-rw-r--r--baserockimport/morphsetondisk.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/baserockimport/morphsetondisk.py b/baserockimport/morphsetondisk.py
index 4aed940..4070557 100644
--- a/baserockimport/morphsetondisk.py
+++ b/baserockimport/morphsetondisk.py
@@ -50,7 +50,7 @@ class MorphologySetOnDisk(morphlib.morphset.MorphologySet):
finder = morphlib.morphologyfinder.MorphologyFinder(gitdir)
for filename in (f for f in finder.list_morphologies()
if not gitdir.is_symlink(f)):
- text = finder.read_morphology(filename)
+ text = finder.read_file(filename)
morph = self.loader.load_from_string(text, filename=filename)
morph.repo_url = None # self.root_repository_url
morph.ref = None # self.system_branch_name