piston/glance — pull request #9 by novas0x2a (2013-04-15 09:51:00+00:00)
Title: make it possible to debug connection errors

if _connect fails, the reason will be hidden because it doesn't ensure
that hasattr(self, 'connection_errors') before using it.