mbed official / mbed-sdk-tools

Files at this revision

API Documentation at this revision

Comitter:
theotherjimmy
Date:
Tue Sep 25 13:52:56 2018 -0500
Parent:
44:bad0b339f97d
Commit message:
Fix usage of notify API in legacy support code

Changed in this revision

build_api.py Show annotated file Show diff for this revision Revisions of this file
--- a/build_api.py	Tue Sep 25 13:48:22 2018 -0500
+++ b/build_api.py	Tue Sep 25 13:52:56 2018 -0500
@@ -515,8 +515,7 @@
 
     # Apply targets.json to active targets
     if targets_json:
-        if verbose:
-            print("Using targets from %s" % targets_json)
+        notify.info("Using targets from %s" % targets_json)
         set_targets_json_location(targets_json)
 
     # Apply profile to toolchains