Skip to content

Commit

Permalink
Merge pull request rq#536 from nealtodd/ref_prs_492_406
Browse files Browse the repository at this point in the history
Allow non-ASCII characters in keyword arguments.
  • Loading branch information
selwin committed May 27, 2015
2 parents 779737f + bac6699 commit f7f998d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rq/job.py
Original file line number Diff line number Diff line change
Expand Up @@ -518,7 +518,7 @@ def get_call_string(self): # noqa

arg_list = [as_text(repr(arg)) for arg in self.args]

kwargs = ['{0}={1!r}'.format(k, v) for k, v in self.kwargs.items()]
kwargs = ['{0}={1}'.format(k, as_text(repr(v))) for k, v in self.kwargs.items()]
# Sort here because python 3.3 & 3.4 makes different call_string
arg_list += sorted(kwargs)
args = ', '.join(arg_list)
Expand Down

0 comments on commit f7f998d

Please sign in to comment.