summaryrefslogtreecommitdiff
path: root/django/utils/datastructures.py
diff options
context:
space:
mode:
authorpetedmarsh <petedmarsh@users.noreply.github.com>2017-04-11 17:44:52 +0100
committerTim Graham <timograham@gmail.com>2017-04-11 12:44:52 -0400
commit14671affc346e70f6bb24117fd4e6af72895864b (patch)
tree9266eda3bc1c7daf67d1261e6e5893e3c9b118e4 /django/utils/datastructures.py
parent7060f777b09da2a844820a39f227a420c2c6ff90 (diff)
downloaddjango-14671affc346e70f6bb24117fd4e6af72895864b.tar.gz
Fixed #28064 -- Removed double-quoting of key names in MultiValueDictKeyError.
Diffstat (limited to 'django/utils/datastructures.py')
-rw-r--r--django/utils/datastructures.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/django/utils/datastructures.py b/django/utils/datastructures.py
index aba5bcf1c2..a21de8a74a 100644
--- a/django/utils/datastructures.py
+++ b/django/utils/datastructures.py
@@ -76,7 +76,7 @@ class MultiValueDict(dict):
try:
list_ = super().__getitem__(key)
except KeyError:
- raise MultiValueDictKeyError(repr(key))
+ raise MultiValueDictKeyError(key)
try:
return list_[-1]
except IndexError: