[libs/logdog] Small tweaks and add fileno to BasicStream.
This allows basic logdog streams to operate as filehandles to subprocess.
Also fixes a bug in normalize and improves an exception message.
R=hinoka@chromium.org, martiniss@chromium.org
Bug: 909848
Change-Id: I4d34a910d83db51123f700b837141157d8dbe39c
Reviewed-on: https://chromium-review.googlesource.com/c/infra/luci/luci-py/+/1512953
Commit-Queue: Robbie Iannucci <iannucci@chromium.org>
Reviewed-by: Ryan Tseng <hinoka@chromium.org>
NOKEYCHECK=True
GitOrigin-RevId: 932668421dd720a45b863f997091938ababdd387
3 files changed