commit | 6fd3c7b6eb7c60f89e83f8ab1f93c133488f984e | [log] [tgz] |
---|---|---|
author | Vadim Shtayura <vadimsh@chromium.org> | Fri Nov 03 22:32:51 2017 |
committer | Commit Bot <commit-bot@chromium.org> | Fri Nov 03 22:39:06 2017 |
tree | 8ca4cf8e2c61624d7659cf144485849fcd201b17 | |
parent | 3f9931a273aa3f717e43a1e867f88b8e3299b523 [diff] |
Fix handling of empty /stdout result. If /stdout returns an empty dict (which happens if there's no stdout), result['output'] becomes empty dict too, which later trips .rstrip(...) call. BUG=781421 R=martiniss@chromium.org Change-Id: I9b0086b6686bdc5073fbe30452a2d72532119469 Reviewed-on: https://chromium-review.googlesource.com/754284 Reviewed-by: Stephen Martinis <martiniss@chromium.org> Commit-Queue: Vadim Shtayura <vadimsh@chromium.org> Cr-Mirrored-From: https://chromium.googlesource.com/infra/luci/luci-py Cr-Mirrored-Commit: 1c1c8f97645c9608fac1f74401eddf162b7df2e0
This is the Python Client code for LUCI. It's part of the main python repo, and is also mirrored into a standalone client-py repo.
This project is licensed under Apache v2.0 license. See LICENSE for details.