kafka: fix python3 exception

Change-Id: I7244515f274719eb8e9189677554637e20917274
This commit is contained in:
Mehdi Abaakouk 2017-01-04 07:58:26 +01:00
parent 61c9e03b6b
commit c7cdf2d9b7
1 changed files with 1 additions and 1 deletions

View File

@ -191,7 +191,7 @@ class Connection(object):
"""
def _raise_timeout(exc):
raise driver_common.Timeout(exc.message)
raise driver_common.Timeout(str(exc))
timer = driver_common.DecayingTimer(duration=timeout)
timer.start()