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 12:48:44 +0000 (14:48 +0200)
commitd58df7c089ba3b7b12d1b7dde74be59fe234b5c0
treefd09449c303a369729ec3be5f79f63bf34353d76
parentf4589233ad2d2a119f685a63e5ee1c2c5c473d5d
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