diff options
author | android-build-team Robot <android-build-team-robot@google.com> | 2020-11-03 18:05:09 +0000 |
---|---|---|
committer | android-build-team Robot <android-build-team-robot@google.com> | 2020-11-03 18:05:09 +0000 |
commit | 2d6b2d48177e4b7c1f10371dbbda0e100ad8b47d (patch) | |
tree | 6e700966fbde382cd6f62cb41d45e4fb7190d32a | |
parent | 8e31a18b6520319473ce89b0d850092ae4bb2d6b (diff) | |
parent | 9f6d4a31e7b04297a4d91abc946b63e21c048b48 (diff) | |
download | vndk-2d6b2d48177e4b7c1f10371dbbda0e100ad8b47d.tar.gz |
Snap for 6948038 from 9f6d4a31e7b04297a4d91abc946b63e21c048b48 to rvc-platform-releaseandroid-platform-11.0.0_r4android-platform-11.0.0_r3
Change-Id: Idddddf46577f0f027d458f5e0cc35cc32d63e278
-rw-r--r-- | utils.py | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -247,4 +247,7 @@ class AndroidDevice(object): if return_code != 0 or err.strip(): raise IOError("`find %s -name '%s' %s` stdout: %s\nstderr: %s" % (path, name_pattern, " ".join(options), out, err)) - return out.strip().split("\n") + + # Return empty file list when out is an empty string. + out = out.strip() + return out.split("\n") if out else [] |