From 4bea99229dfa1ee7bffeefc4d194c34eb4752509 Mon Sep 17 00:00:00 2001 From: Lars Wirzenius Date: Wed, 7 Aug 2013 13:53:36 +0000 Subject: 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. --- morphlib/__init__.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'morphlib/__init__.py') 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 -- cgit v1.2.1