summaryrefslogtreecommitdiff
path: root/morphlib/__init__.py
diff options
context:
space:
mode:
authorRichard Maw <richard.maw@codethink.co.uk>2014-06-17 16:09:23 +0000
committerRichard Maw <richard.maw@codethink.co.uk>2014-06-19 16:12:27 +0000
commit7b721a81d6fe695f1bae86d43d65d04c971707e7 (patch)
tree6835f50aed317231f84fcf51cc2afca44c805628 /morphlib/__init__.py
parent4af4ff9e013680de3424d0538ddfbf4ce9996f0e (diff)
downloadmorph-7b721a81d6fe695f1bae86d43d65d04c971707e7.tar.gz
Don't assume morphologies end in .morph
We occasionally need to load every morphology in the repository, e.g. morph edit needs to change every morphology that references that chunk. We used to do this by loading everything that ended in `.morph`, but if we're moving to allowing morphologies to have arbitrary filenames, there's no suitable metric other than "this file will successfully validate as a morphology". So, the morphologyfinder module is no longer appropriate, and the responsibility for working out what is a valid morphology has been shifted to the SystemBranchDirectory class, which is used to having to load all the morphologies.
Diffstat (limited to 'morphlib/__init__.py')
-rw-r--r--morphlib/__init__.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/morphlib/__init__.py b/morphlib/__init__.py
index 0c928fd3..a8932550 100644
--- a/morphlib/__init__.py
+++ b/morphlib/__init__.py
@@ -70,7 +70,6 @@ import localrepocache
import mountableimage
import morph2
import morphologyfactory
-import morphologyfinder
import morph3
import morphloader
import morphset