Skip to content

Commit 2fe1373

Browse files
committed
Fixing use of get_repo_list in update function
1 parent b739413 commit 2fe1373

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tools/test/examples/examples_lib.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -386,8 +386,8 @@ def update_mbedos_version(config, tag, examples):
386386
for example in config['examples']:
387387
if example['name'] not in examples:
388388
continue
389-
for repo in get_repo_list(example):
390-
update_dir = basename(repo) + "/mbed-os"
389+
for repo_info in get_repo_list(example):
390+
update_dir = basename(repo_info['repo']) + "/mbed-os"
391391
print("\nChanging dir to %s\n" % update_dir)
392392
os.chdir(update_dir)
393393
subprocess.call(["mbed-cli", "update", tag, "--clean"])

0 commit comments

Comments
 (0)