Merge "kafka: fix python3 exception"

This commit is contained in:
Jenkins 2017-01-28 11:06:32 +00:00 committed by Gerrit Code Review
commit 3b91f3d1cc
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()