diff options
author | Paul Sherwood <paul.sherwood@codethink.co.uk> | 2015-03-30 10:45:39 +0000 |
---|---|---|
committer | Paul Sherwood <paul.sherwood@codethink.co.uk> | 2015-03-30 10:45:39 +0000 |
commit | 4c7c69a8a0074db7eb3adbf2512eab959c9cba78 (patch) | |
tree | 63af59f371339b42e0ca8ec16cebbcc927bfb6b7 /ybd.py | |
parent | 13dcc7eb00adbd11b2441e63c7ab0e0418288e7a (diff) | |
download | ybd-4c7c69a8a0074db7eb3adbf2512eab959c9cba78.tar.gz |
Tidyup and fix case where definition does not exist
Diffstat (limited to 'ybd.py')
-rwxr-xr-x | ybd.py | 6 |
1 files changed, 2 insertions, 4 deletions
@@ -31,9 +31,7 @@ target = os.path.splitext(os.path.basename(sys.argv[1]))[0] arch = sys.argv[2] with app.setup(target, arch): with app.timer('TOTAL', 'YBD starts'): - defs = Definitions() - definition = defs.get(target) with app.timer('CACHE-KEYS', 'Calculating'): cache.get_cache(target) - defs.save_trees() - assemble(definition) + Definitions().save_trees() + assemble(target) |