tempodb / tempodb-python

Python client for TempoDB
MIT License
28 stars 19 forks source link

update __init__.py for compability with python3 #39

Closed robpower closed 3 years ago

robpower commented 10 years ago

Error exception should be defined as "except Exception as e:" for compability with version 3+ of python.

ixmatus commented 10 years ago

This doesn't make the library compatible with Py3k, there are str() casts else where in the library and urllib imports that have to be handled correctly.