docker/docker-py — pull request #337 by heewa (2014-10-04 22:16:29+00:00)
Title: Catch invalid path in build method

The server responds with an unuseful message (server error EOF), which
happens because an empty tar file is sent over. So check in the client,
who knows why that's happening and tell the user.