Browse files

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
  • Loading branch information...
1 parent 15d5c3d commit 254e087e31a38c7dc2cf91c062e62addcf409570 @adrianholovaty adrianholovaty committed Apr 23, 2007
Showing with 1 addition and 1 deletion.
  1. +1 −1 django/utils/datastructures.py
View
2 django/utils/datastructures.py
@@ -211,7 +211,7 @@ def copy(self):
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):

0 comments on commit 254e087

Please sign in to comment.