From c2c952b3ccf0a1803bd64d4a77998c754298e31a Mon Sep 17 00:00:00 2001 From: Maximilian Hils Date: Mon, 31 Mar 2014 12:44:20 +0200 Subject: [PATCH] make error message example less abstract. --- netlib/odict.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/netlib/odict.py b/netlib/odict.py index 0640c25d1..ea95a5863 100644 --- a/netlib/odict.py +++ b/netlib/odict.py @@ -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: