« Previous | Next » 

Revision 016308cb

ID016308cbcbd81ffab58e50ef9af78c5cb581f041

Added by Iustin Pop about 13 years ago

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 <>
Reviewed-by: Michael Hanselmann <>

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences