Refactor @memoized decorator with expiration feature; cache installed boards per platform

This commit is contained in:
Ivan Kravets
2018-03-23 00:08:07 +02:00
parent 0f4ab5b50b
commit d54327f1a9
7 changed files with 25 additions and 45 deletions

View File

@@ -199,7 +199,7 @@ def _delete_file(path):
pass
@util.memoized
@util.memoized()
def _get_compiler_type(env):
try:
sysenv = environ.copy()