Author: adrian
Date: 2007-04-22 20:55:45 -0500 (Sun, 22 Apr 2007)
New Revision: 5060
Modified:
django/trunk/django/utils/datastructures.py
Log:
Fixed #4106 -- Fixed typo in datastructures.py. Thanks, Amr Mostafa
Modified: django/trunk/django/utils/datastructures.py
===================================================================
--- django/trunk/django/utils/datastructures.py 2007-04-22 04:55:42 UTC (rev
5059)
+++ django/trunk/django/utils/datastructures.py 2007-04-23 01:55:45 UTC (rev
5060)
@@ -211,7 +211,7 @@
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):
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/django-updates?hl=en
-~----------~----~----~----~------~----~------~--~---