summaryrefslogtreecommitdiff
path: root/morphlib/builder.py
diff options
context:
space:
mode:
authorLars Wirzenius <lars.wirzenius@codethink.co.uk>2012-03-30 17:18:13 +0100
committerLars Wirzenius <lars.wirzenius@codethink.co.uk>2012-03-30 17:18:13 +0100
commit7083d19af908a779f096afc2ae48f68d796116eb (patch)
treeed5eb5e47f9cbb9b5071aba03d1c3d188241bcbe /morphlib/builder.py
parent5f73977dc108ff119e63c68d225bec8c9b4378b0 (diff)
downloadmorph-7083d19af908a779f096afc2ae48f68d796116eb.tar.gz
Automatically deduce type of chunk if one doesn't exist
Diffstat (limited to 'morphlib/builder.py')
-rw-r--r--morphlib/builder.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/morphlib/builder.py b/morphlib/builder.py
index 643ce04a..bcd934ef 100644
--- a/morphlib/builder.py
+++ b/morphlib/builder.py
@@ -673,7 +673,8 @@ class Builder(object): # pragma: no cover
if 'morph' in source
else source['name'])
filename = '%s.morph' % filename
- chunk = self.morph_loader.load(treeish, filename)
+ chunk = self.morph_loader.load(treeish, filename,
+ chunk_name=source['name'])
cache_id = self.get_cache_id(chunk)
kids.append(cache_id)
elif morph.kind == 'system':