Skip to content

Commit

Permalink
Fixed some typos
Browse files Browse the repository at this point in the history
  • Loading branch information
vincentfretin committed Sep 8, 2009
1 parent 93d002f commit 6fee012
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/z3c/form/converter.py
Original file line number Diff line number Diff line change
Expand Up @@ -356,7 +356,7 @@ def toWidgetValue(self, value):
widget = zope.component.getMultiAdapter((field, self.widget.request),
interfaces.IFieldWidget)
if interfaces.IFormAware.providedBy(self.widget):
#form property required by objecwidget
# form property required by objectwidget
widget.form = self.widget.form
zope.interface.alsoProvides(widget, interfaces.IFormAware)
converter = zope.component.getMultiAdapter((field, widget),
Expand Down
4 changes: 2 additions & 2 deletions src/z3c/form/group.txt
Original file line number Diff line number Diff line change
Expand Up @@ -807,7 +807,7 @@ Now the owner object should have updated fields.
u'2005'

So what happens, if errors happen inside a nested group? Let's use an empty
invllaid object for the test missing input errors:
invalid object for the test missing input errors:

>>> reg = VehicleRegistration(owner=VehicleOwner())

Expand Down Expand Up @@ -887,7 +887,7 @@ Now build the group instance object chain:
>>> vrg.groups = (ownerGroup,)
>>> edit.groups = (vrg,)

Also use refreshActions whihc is not needed but will make coverage this
Also use refreshActions which is not needed but will make coverage this
additional line of code in the update method:

>>> edit.refreshActions = True
Expand Down
2 changes: 1 addition & 1 deletion src/z3c/form/object-caveat.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ ObjectWidget caveat
===================

ObjectWidget itself seems to be fine, but we discovered a fundamental problem
in z3.form.
in z3c.form.

The meat is that widget value
* validation
Expand Down
2 changes: 1 addition & 1 deletion src/z3c/form/util.py
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ def extractFileName(form, id, cleanup=True, allowEmptyPostfix=False):


class UniqueOrderedKeys(object):
"""Ensures that we only ue unique keys in a list.
"""Ensures that we only use unique keys in a list.
This is useful since we use the keys and values list only as ordered keys
and values addition for our data dict.
Expand Down

0 comments on commit 6fee012

Please sign in to comment.