summaryrefslogtreecommitdiff
path: root/morphlib/__init__.py
diff options
context:
space:
mode:
authorLars Wirzenius <lars.wirzenius@codethink.co.uk>2013-08-07 13:53:36 +0000
committerLars Wirzenius <lars.wirzenius@codethink.co.uk>2013-08-14 16:32:04 +0000
commit4bea99229dfa1ee7bffeefc4d194c34eb4752509 (patch)
treed892c903716268bc555a7a27b8cd4924c4b5297a /morphlib/__init__.py
parent5d95df761c8335711f27e9ab062c0a20ddd332b1 (diff)
downloadmorph-4bea99229dfa1ee7bffeefc4d194c34eb4752509.tar.gz
Add new morphology abstraction and morphology loading/saving
The old code is somewhat weird. The new code is meant to be cleaner and more straightforward to understand and to use. For example, the old code has setting of defaults in both the Morphology and MorphologyFactory classes. The new code has a minimally simple Morphology class, and has all the logic to validate and set defaults in the MorphologyLoader class. Further, the new code makes it possible to load an invalid morphology, which will be useful later.
Diffstat (limited to 'morphlib/__init__.py')
-rw-r--r--morphlib/__init__.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/morphlib/__init__.py b/morphlib/__init__.py
index 544dcd09..b9b9924b 100644
--- a/morphlib/__init__.py
+++ b/morphlib/__init__.py
@@ -65,6 +65,8 @@ import localrepocache
import mountableimage
import morph2
import morphologyfactory
+import morph3
+import morphloader
import remoteartifactcache
import remoterepocache
import repoaliasresolver