Fix infinite loop in Client.logs(stream=True) caused by connection close.
Merge pull request #128 from slon/master

Fix infinite loop in Client.logs(stream=True) caused by connection close...
Style fixes for flake8

Signed-off-by: Maxime Petazzoni <max@signalfuse.com>
Merge pull request #1 from dotcloud/master

Merge pull request #128 from slon/master