Simplify utils.ReadFile
The documentation for file objects' read method states that if the size is "negative or ommitted", all data is read; thus we can simplify it to have size=-1 by default and not have the if test. Signed-off-by:Iustin Pop <iustin@google.com> Reviewed-by:
Michael Hanselmann <hansmi@google.com>
Loading
Please register or sign in to comment