summaryrefslogtreecommitdiff
path: root/morphlib/morphology.py
diff options
context:
space:
mode:
authorRichard Maw <richard.maw@codethink.co.uk>2012-01-18 14:17:30 +0000
committerRichard Maw <richard.maw@codethink.co.uk>2012-01-18 14:17:30 +0000
commitb1022b4807b923de9d2df25583d8e28a70ac981e (patch)
tree6057766ff6255359347d1937d66427b51fc1c2c7 /morphlib/morphology.py
parent23a74cc5d9ee42972a57b15b40f91e4797274410 (diff)
parent0a603422096852ec09e1e7b89ecc79c66d3986b1 (diff)
downloadmorph-b1022b4807b923de9d2df25583d8e28a70ac981e.tar.gz
Merge branch 'master' into richardmaw/merge
Diffstat (limited to 'morphlib/morphology.py')
-rw-r--r--morphlib/morphology.py7
1 files changed, 5 insertions, 2 deletions
diff --git a/morphlib/morphology.py b/morphlib/morphology.py
index f04e9f7c..8f787939 100644
--- a/morphlib/morphology.py
+++ b/morphlib/morphology.py
@@ -22,7 +22,10 @@ class Morphology(object):
'''Represent a morphology: description of how to build binaries.'''
- def __init__(self, fp, baseurl=None):
+ def __init__(self, repo, ref, fp, baseurl=None):
+ self.repo = repo
+ self.ref = ref
+
self._fp = fp
self._baseurl = baseurl or ''
self._load()
@@ -62,7 +65,7 @@ class Morphology(object):
@property
def build_depends(self):
- return self._dict.get('build-depends', [])
+ return self._dict.get('build-depends', None)
@property
def build_system(self):