Remove fstat from clients.utils.readall
authorStavros Sachtouris <saxtouri@admin.grnet.gr>
Fri, 10 Jan 2014 10:04:11 +0000 (12:04 +0200)
committerStavros Sachtouris <saxtouri@admin.grnet.gr>
Fri, 10 Jan 2014 10:04:11 +0000 (12:04 +0200)
commite9195e9d14d679f1dad7edef82ab2dcd0ee0e6df
treefeb72fa75549c88ea51ccf85d783b1ee82677074
parent567a88c28d6c33e77f80a3fbcc42c8d4744b76f5
Remove fstat from clients.utils.readall

Refs: #4871

Fstat was used to compute the actual file size in order to
distinguish if an empty read was because the file ended.
It now considers an empty read to be an end of file.

This allows reading non-regular files.
kamaki/clients/pithos/__init__.py
kamaki/clients/utils/__init__.py