Skip to content

Commit

Permalink
Remove usage of set literals cloudera#375 (cloudera#376)
Browse files Browse the repository at this point in the history
Testing:
Tested in a centos 6 VM.
  • Loading branch information
timarmstrong authored Nov 20, 2019
1 parent 27b36fb commit 58916e5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions impala/interface.py
Original file line number Diff line number Diff line change
Expand Up @@ -226,10 +226,10 @@ def replace_markers(marker, op, parameters):
# offset by one
operation = operation.format(*[''] + string_parameters)

if paramstyle in {'named', 'pyformat'}:
if paramstyle in ['named', 'pyformat']:
raise ProgrammingError(
"paramstyle '%s' is not compatible with parameters passed as List."
"please you a dict for you parameters instead or specify"
"please use a dict for you parameters instead or specify"
" a different paramstyle",
paramstyle
)
Expand Down

0 comments on commit 58916e5

Please sign in to comment.