Author: lukeplant
Date: 2009-09-11 04:08:07 -0500 (Fri, 11 Sep 2009)
New Revision: 11496

Modified:
   django/trunk/django/forms/widgets.py
Log:
Fixed Widget.__init__() for Python 2.6 and greater.  Refs #11703


Modified: django/trunk/django/forms/widgets.py
===================================================================
--- django/trunk/django/forms/widgets.py        2009-09-10 22:49:05 UTC (rev 
11495)
+++ django/trunk/django/forms/widgets.py        2009-09-11 09:08:07 UTC (rev 
11496)
@@ -139,7 +139,6 @@
             self.attrs = attrs.copy()
         else:
             self.attrs = {}
-        super(Widget, self).__init__(attrs)
 
     def __deepcopy__(self, memo):
         obj = copy.copy(self)


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