boto/boto — pull request #2305 by raphaellig (2014-06-02 20:19:00+00:00)
Title: only attempt shared creds load if path is a file

fix for issue introduced in #2292 where if ~/.aws/credentials/ is a directory, an exception is thrown "IOError: [Errno 21] Is a directory: '/.aws/credentials'"