web/formfields.py
changeset 7462 fbfde96437ad
parent 7460 2455cdbeadca
child 7574 34154f48d255
--- a/web/formfields.py	Mon Jun 06 16:19:19 2011 +0200
+++ b/web/formfields.py	Mon Jun 06 16:33:21 2011 +0200
@@ -847,7 +847,7 @@
         self.max = max
 
     def init_widget(self, widget):
-        super(BigIntField, self).init_widget(widget):
+        super(BigIntField, self).init_widget(widget)
         if isinstance(self.widget, fw.TextInput):
             self.widget.attrs.setdefault('size', self.default_text_input_size)
 
@@ -871,7 +871,7 @@
     default_text_input_size = 5
 
     def init_widget(self, widget):
-        super(IntField, self).init_widget(widget):
+        super(IntField, self).init_widget(widget)
         if isinstance(self.widget, fw.TextInput):
             self.widget.attrs.setdefault('maxlength', 15)