Author: adrian
Date: 2007-09-19 20:56:02 -0500 (Wed, 19 Sep 2007)
New Revision: 6383

Modified:
   django/trunk/django/utils/datastructures.py
Log:
Fixed #5540 -- Made __repr__() for MultiValueDict more generic. Thanks, Thomas 
Guttler

Modified: django/trunk/django/utils/datastructures.py
===================================================================
--- django/trunk/django/utils/datastructures.py 2007-09-20 01:55:53 UTC (rev 
6382)
+++ django/trunk/django/utils/datastructures.py 2007-09-20 01:56:02 UTC (rev 
6383)
@@ -149,7 +149,7 @@
         dict.__init__(self, key_to_list_mapping)
 
     def __repr__(self):
-        return "<MultiValueDict: %s>" % dict.__repr__(self)
+        return "<%s: %s>" % (self.__class__.__name__, dict.__repr__(self))
 
     def __getitem__(self, key):
         """


--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to