summaryrefslogtreecommitdiff
path: root/morphlib/morphologyfactory.py
diff options
context:
space:
mode:
authorLars Wirzenius <lars.wirzenius@codethink.co.uk>2012-07-18 16:15:47 +0100
committerLars Wirzenius <lars.wirzenius@codethink.co.uk>2012-07-18 16:17:39 +0100
commitd400ccc735a6282680529f321614062fcef50f23 (patch)
tree4239e60b9762777d55092d2edf4fb76ee4ccf676 /morphlib/morphologyfactory.py
parent82162907439d79afa5a8063d66426288ccfb21dc (diff)
downloadmorph-d400ccc735a6282680529f321614062fcef50f23.tar.gz
Add missing empty lines, for clarity
Diffstat (limited to 'morphlib/morphologyfactory.py')
-rw-r--r--morphlib/morphologyfactory.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/morphlib/morphologyfactory.py b/morphlib/morphologyfactory.py
index de9e03e5..5a049d04 100644
--- a/morphlib/morphologyfactory.py
+++ b/morphlib/morphologyfactory.py
@@ -18,22 +18,27 @@
import morphlib
import cliapp
+
class MorphologyFactoryError(cliapp.AppException):
pass
+
class AutodetectError(MorphologyFactoryError):
def __init__(self, repo_name, ref):
MorphologyFactoryError.__init__(self,
"Failed to determine the build system of repo %s at "
"ref %s" % (repo_name, ref))
+
class NotcachedError(MorphologyFactoryError):
def __init__(self, repo_name):
MorphologyFactoryError.__init__(self,
"Repository %s is not cached locally and there is no "
"remote cache specified" % repo_name)
+
class MorphologyFactory(object):
+
'''An way of creating morphologies which will provide a default'''
def __init__(self, local_repo_cache, remote_repo_cache=None):