Skip to content
Snippets Groups Projects
Commit 563618f55e81 authored by Luke Bakken's avatar Luke Bakken
Browse files

Ensure that mis-passed tuples are formatted correctly

Fixes pika/pika#1116
parent 37366c634f19
Branches
No related tags found
No related merge requests found
...@@ -57,7 +57,7 @@ ...@@ -57,7 +57,7 @@
""" """
if parameters and not isinstance(parameters, connection.Parameters): if parameters and not isinstance(parameters, connection.Parameters):
raise ValueError( raise ValueError(
'Expected instance of Parameters, not %r' % parameters) 'Expected instance of Parameters, not %r' % (parameters,))
# Let the developer know we could not import SSL # Let the developer know we could not import SSL
if parameters and parameters.ssl and not ssl: if parameters and parameters.ssl and not ssl:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment