From 254e087e31a38c7dc2cf91c062e62addcf409570 Mon Sep 17 00:00:00 2001 From: Adrian Holovaty Date: Mon, 23 Apr 2007 01:55:45 +0000 Subject: [PATCH] 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 --- django/utils/datastructures.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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):