Commits

Marcin Kasperski committed 248d9e2

Slight improvement of exception formatting.

  • Participants
  • Parent commits 3fb3f40

Comments (0)

Files changed (1)

src/mekk/greader/reader_client.py

             f = urllib2.urlopen( request )
         except urllib2.HTTPError as e:
             if e.code == 403:
-                raise GoogleLoginFailed("%s (%s)" % (e.reason, e.read()))
+                raise GoogleLoginFailed("%s (%s)" % (e.reason, e.read().rstrip()))
             else:
                 raise
         result = f.read()