Skip to content

Commit

Permalink
Make SSL warning list the correct Python versions (#924)
Browse files Browse the repository at this point in the history
  • Loading branch information
jeffwidman authored and dpkp committed Jan 4, 2017
1 parent 9fce170 commit cfb5f0e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions kafka/conn.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,9 @@
ssl.SSLWantWriteError
ssl.SSLZeroReturnError
except:
log.warning('old ssl module detected.'
' ssl error handling may not operate cleanly.'
' Consider upgrading to python 3.5 or 2.7')
log.warning('Old SSL module detected.'
' SSL error handling may not operate cleanly.'
' Consider upgrading to Python 3.3 or 2.7.9')
ssl.SSLWantReadError = ssl.SSLError
ssl.SSLWantWriteError = ssl.SSLError
ssl.SSLZeroReturnError = ssl.SSLError
Expand Down

0 comments on commit cfb5f0e

Please sign in to comment.