summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdrian Holovaty <adrian@holovaty.com>2007-04-23 01:55:45 +0000
committerAdrian Holovaty <adrian@holovaty.com>2007-04-23 01:55:45 +0000
commit254e087e31a38c7dc2cf91c062e62addcf409570 (patch)
tree3b72e9752c94afe7516fa05c874a932cd7f5744e
parent15d5c3decb79c8a1af7131b8e53d12181c790e2f (diff)
Fixed #4106 -- Fixed typo in datastructures.py. Thanks, Amr Mostafa
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5060 bcc190cf-cafb-0310-a4f2-bffc1f526a37
-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 7b7fa2b0f0..dbf8660c75 100644
--- a/django/utils/datastructures.py
+++ b/django/utils/datastructures.py
@@ -211,7 +211,7 @@ class MultiValueDict(dict):
def update(self, *args, **kwargs):
"update() extends rather than replaces existing key lists. Also accepts keyword args."
if len(args) > 1:
- raise TypeError, "update expected at most 1 arguments, got %d", len(args)
+ raise TypeError, "update expected at most 1 arguments, got %d" % len(args)
if args:
other_dict = args[0]
if isinstance(other_dict, MultiValueDict):