Skip to content

Commit

Permalink
Write cache-key to ybd.result
Browse files Browse the repository at this point in the history
  • Loading branch information
devcurmudgeon committed Mar 25, 2016
1 parent 32dcaa7 commit 72799e1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ybd/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,8 @@

defs.save_trees()
if app.config.get('mode', 'normal') == 'keys-only':
print target['cache']
with open('./ybd.result', 'w') as f:
f.write(target['cache'] +'\n')
os._exit(0)

sandbox.executor = sandboxlib.executor_for_platform()
Expand Down

0 comments on commit 72799e1

Please sign in to comment.