cros: Honor upload_stats attribute.
Actually pay attention to subcommands' upload_stats attribute to
determine whether to upload stats.
BUG=None
TEST=ran 'cros --log-level=debug lint <file>' and verified it wasn't
uploading stats. Verified 'cros chrome-sdk' is still uploading
stats.
Change-Id: I50720d6a1f7ed049b1dce1b21e14ce021f833da7
Reviewed-on: https://gerrit.chromium.org/gerrit/48716
Reviewed-by: David James <davidjames@chromium.org>
Commit-Queue: Ryan Cui <rcui@chromium.org>
Tested-by: Ryan Cui <rcui@chromium.org>
1 file changed