Bug 1633309 [wpt PR 23257] - [wptserve] Fix an exception handler in stash, a=testonly

Automatic update from web-platform-tests
[wptserve] Fix an exception handler in stash

internal_key is a tuple whose items are guaranteed to be strings.
It should be used as the key directly.
--

wpt-commits: d2025b24b0b1f4d2e69e83cf83e60c021d9f7b42
wpt-pr: 23257
This commit is contained in:
Robert Ma 2020-04-28 11:46:10 +00:00
Родитель ab9d24a343
Коммит e80056ab91
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -162,7 +162,7 @@ class Stash(object):
if internal_key in self.data:
raise StashError("Tried to overwrite existing shared stash value "
"for key %s (old value was %s, new value is %s)" %
(internal_key, self.data[str(internal_key)], value))
(internal_key, self.data[internal_key], value))
else:
self.data[internal_key] = value