Index: native_client_sdk/src/build_tools/sdk_tools/command/update.py |
diff --git a/native_client_sdk/src/build_tools/sdk_tools/command/update.py b/native_client_sdk/src/build_tools/sdk_tools/command/update.py |
index 7fa9066cd98cec73355185f58fd8110742817715..3ae4f0d46aed9509bb37b98fc58ad9d1761c5fb7 100644 |
--- a/native_client_sdk/src/build_tools/sdk_tools/command/update.py |
+++ b/native_client_sdk/src/build_tools/sdk_tools/command/update.py |
@@ -212,8 +212,11 @@ def _GetRequestedBundleNamesFromArgs(remote_manifest, requested_bundles): |
def _GetRecommendedBundleNames(remote_manifest): |
- return [bundle.name for bundle in remote_manifest.GetBundles() if |
- bundle.recommended] |
+ result = [] |
+ for bundle in remote_manifest.GetBundles(): |
+ if bundle.recommended == 'yes' and bundle.name != SDK_TOOLS: |
+ result.append(bundle.name) |
+ return result |
def _BundleNeedsUpdate(delegate, local_manifest, bundle): |