Skip to content

Commit

Permalink
Ensure that mis-passed tuples are formatted correctly
Browse files Browse the repository at this point in the history
Fixes #1116
  • Loading branch information
lukebakken committed Sep 14, 2018
1 parent 4ec4a42 commit 2ba9911
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pika/adapters/base_connection.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ def __init__(self,
"""
if parameters and not isinstance(parameters, connection.Parameters):
raise ValueError(
'Expected instance of Parameters, not %r' % parameters)
'Expected instance of Parameters, not %r' % (parameters,))

self._nbio = nbio

Expand Down

0 comments on commit 2ba9911

Please sign in to comment.