diff options
author | Richard Maw <richard.maw@codethink.co.uk> | 2014-09-22 09:22:56 +0000 |
---|---|---|
committer | Richard Maw <richard.maw@codethink.co.uk> | 2014-09-22 09:22:56 +0000 |
commit | cb7eed0a589c7b2ea62ca6df789422d09b9dcb43 (patch) | |
tree | e6bb5d5c4e06f14de98569298cc00e3fcbbf829f /morphlib/app.py | |
parent | e62eced3044c2383de3029e9d7ae2b2649704e80 (diff) | |
parent | 945c60a1aa0b48f49c08e70206a5ca24f1c710bb (diff) | |
download | morph-cb7eed0a589c7b2ea62ca6df789422d09b9dcb43.tar.gz |
Merge branch 'baserock/richardmaw-os/tidy-build-logic-v7'
Reviewed-by: Lars Wirzenius (+2 to misc fixups)
Reviewed-by: Sam Thursfield (+1 to per-source building)
Reviewed-by: Paul Sherwood (+1 to per-source building)
Diffstat (limited to 'morphlib/app.py')
-rw-r--r-- | morphlib/app.py | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/morphlib/app.py b/morphlib/app.py index 48de6aba..9ab102b3 100644 --- a/morphlib/app.py +++ b/morphlib/app.py @@ -294,9 +294,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'], |