mirror of
https://github.com/Grasscutters/mitmproxy.git
synced 2024-11-23 00:01:36 +00:00
make error message example less abstract.
This commit is contained in:
parent
10ef03d85a
commit
c2c952b3cc
@ -60,7 +60,7 @@ class ODict:
|
||||
key, they are cleared.
|
||||
"""
|
||||
if isinstance(valuelist, basestring):
|
||||
raise ValueError("Expected list instead of string. E.g. odict['elem'] = ['string1', 'string2']")
|
||||
raise ValueError("Expected list of values instead of string. Example: odict['Host'] = ['www.example.com']")
|
||||
|
||||
new = self._filter_lst(k, self.lst)
|
||||
for i in valuelist:
|
||||
|
Loading…
Reference in New Issue
Block a user