From 7083d19af908a779f096afc2ae48f68d796116eb Mon Sep 17 00:00:00 2001 From: Lars Wirzenius Date: Fri, 30 Mar 2012 17:18:13 +0100 Subject: Automatically deduce type of chunk if one doesn't exist --- morphlib/builder.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'morphlib/builder.py') 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': -- cgit v1.2.1