carolinux / gdata-python-client

Automatically exported from code.google.com/p/gdata-python-client
0 stars 1 forks source link

String exception in service.py #482

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
src/atom/service.py contains a string exception in line 428.
Python >=2.6 does not allow this.

Original issue reported on code.google.com by anot...@gmail.com on 28 Dec 2010 at 8:47

GoogleCodeExporter commented 9 years ago
Reproduced in trunk.

{{{
TypeError: exceptions must be old-style classes or derived from BaseException, 
not str
}}}

Patch attached with test.

Original comment by afs...@google.com on 29 Dec 2010 at 9:48

Attachments:

GoogleCodeExporter commented 9 years ago
Fixed in f98817b9f8. Thanks! -joe

Original comment by joe.gregorio@gmail.com on 20 Jan 2011 at 8:29

GoogleCodeExporter commented 9 years ago

Original comment by joe.gregorio@gmail.com on 20 Jan 2011 at 8:29