diff options
author | Adam Coldrick <adam.coldrick@codethink.co.uk> | 2015-06-11 08:40:00 +0000 |
---|---|---|
committer | Adam Coldrick <adam.coldrick@codethink.co.uk> | 2015-06-11 09:19:16 +0000 |
commit | e0e636b3111df4cbd8320ae4923315f38ae8b630 (patch) | |
tree | 845a044c6bd8a62035702b3d11026b863be1ebd2 /ybd.py | |
parent | 55d89a774388121585fc7e357a937761c98ed42b (diff) | |
download | ybd-e0e636b3111df4cbd8320ae4923315f38ae8b630.tar.gz |
Pass the Definitions object rather than repeatedly instantiating a new one
Diffstat (limited to 'ybd.py')
-rwxr-xr-x | ybd.py | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -50,11 +50,11 @@ with app.setup(target, arch): with app.timer('DEFINITIONS', 'Parsing %s' % app.settings['def-ver']): defs = Definitions() with app.timer('CACHE-KEYS', 'Calculating'): - cache.get_cache(app.settings['target']) + cache.get_cache(defs, app.settings['target']) defs.save_trees() sandbox.executor = sandboxlib.executor_for_platform() app.log(target, 'Using %s for sandboxing' % sandbox.executor) - assemble(app.settings['target']) - deploy(app.settings['target']) + assemble(defs, app.settings['target']) + deploy(defs, app.settings['target']) |