mirror of
https://fuchsia.googlesource.com/third_party/pigweed.googlesource.com/pigweed/pigweed
synced 2024-09-21 06:12:09 +00:00
881d3138e8
For empty files the copyright check would keep reading but because it was at EOF it would keep getting an empty string, for which 'not line.strip()' would always evaluate to True. This change causes it to exit the loop when it hits EOF. Change-Id: I0fe5d95fe1d4f1d9dcaf1ff4e1351fa40b96bd72 |
||
---|---|---|
.. | ||
py | ||
BUILD.gn | ||
docs.rst | ||
README.md |