summaryrefslogtreecommitdiff
path: root/morphlib/app.py
diff options
context:
space:
mode:
Diffstat (limited to 'morphlib/app.py')
-rw-r--r--morphlib/app.py8
1 files changed, 5 insertions, 3 deletions
diff --git a/morphlib/app.py b/morphlib/app.py
index 88eb58a4..fae4c84b 100644
--- a/morphlib/app.py
+++ b/morphlib/app.py
@@ -290,9 +290,11 @@ class Morph(cliapp.Application):
pool = morphlib.sourcepool.SourcePool()
def add_to_pool(reponame, ref, filename, absref, tree, morphology):
- source = morphlib.source.Source(reponame, ref, absref, tree,
- morphology, filename)
- pool.add(source)
+ sources = morphlib.source.make_sources(reponame, ref,
+ filename, absref,
+ tree, morphology)
+ for source in sources:
+ pool.add(source)
self.traverse_morphs(repo, ref, [filename], lrc, rrc,
update=not self.settings['no-git-update'],