commit | 9b1b0ed1f31dd42b128ae88ce50c2ab1f87ebaeb | [log] [tgz] |
---|---|---|
author | Robert Iannucci <iannucci@chromium.org> | Tue Jun 04 01:19:23 2019 |
committer | Commit Bot <commit-bot@chromium.org> | Tue Jun 04 01:19:23 2019 |
tree | cda0119472bcebc21fc8a1d82e51836d9327ff89 | |
parent | 7d52675c0ce937eeede6a962cd996e2d0484e54a [diff] |
Fix logdog client library on windows. LOGDOG_STREAM_SERVER_PATH is set to e.g. `net.pipe:LUCILogDogKitchen_1176` on bots, but the file to open is '\\.\pipe\LUCILogDogKitchen_1176'. Additionally, specify no-buffering and '+' mode to prevent python from hanging onto bytes it shouldn't keep and allow the pipe to be re-opened for multiple streams in the same python process. R=tandrii@chromium.org Bug: 959887 Change-Id: Iff15fb9de9e39552fc7b063c66e6fbeb6f677d61 Reviewed-on: https://chromium-review.googlesource.com/c/infra/luci/luci-py/+/1642342 Auto-Submit: Robbie Iannucci <iannucci@chromium.org> Commit-Queue: Andrii Shyshkalov <tandrii@chromium.org> Reviewed-by: Andrii Shyshkalov <tandrii@chromium.org> Cr-Mirrored-From: https://chromium.googlesource.com/infra/luci/luci-py Cr-Mirrored-Commit: 90b6d0451314bb57c1e5e45f924478cc34c7f3cc
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.
To contribute changes you need to clone the main python repo and then use git cl upload. The client-py repo mirror (which appears in Chromium's third_party directory) cannot be contributed to directly.
This project is licensed under Apache v2.0 license. See LICENSE for details.