Skip to content

Commit ea38feb

Browse files
committed
Use Program cache which fallbacks to Global cache, rather than directly Global
1 parent bb1680d commit ea38feb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mbed/mbed.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -807,7 +807,7 @@ def fromrepo(cls, path=None):
807807

808808
repo.path = os.path.abspath(path)
809809
repo.name = os.path.basename(repo.path)
810-
repo.cache = Global().get_cfg('CACHE')
810+
repo.cache = Program(repo.path).get_cfg('CACHE')
811811

812812
repo.sync()
813813

0 commit comments

Comments
 (0)