# HG changeset patch # User Rémi Cardona # Date 1444989490 -7200 # Node ID da30851f970670a03da2b165884e0eca5bbc82d7 # Parent 41bd01ebebb43bb902e3848f3c86a9e1a399e2fa spelling: *aly → *ally diff -r 41bd01ebebb4 -r da30851f9706 _exceptions.py --- a/_exceptions.py Fri Oct 16 11:15:50 2015 +0200 +++ b/_exceptions.py Fri Oct 16 11:58:10 2015 +0200 @@ -188,7 +188,7 @@ commit time. :type txuuix: int - :param txuuid: Unique identifier of the partialy undone transaction + :param txuuid: Unique identifier of the partially undone transaction :type errors: list :param errors: List of errors occurred during undoing diff -r 41bd01ebebb4 -r da30851f9706 devtools/__init__.py --- a/devtools/__init__.py Fri Oct 16 11:15:50 2015 +0200 +++ b/devtools/__init__.py Fri Oct 16 11:58:10 2015 +0200 @@ -892,7 +892,7 @@ We only keep one repo in cache to prevent too much objects to stay alive (database handler holds a reference to a repository). As at the moment a new handler is created for each TestCase class and all test methods are executed - sequentialy whithin this class, there should not have more cache miss that + sequentially whithin this class, there should not have more cache miss that if we had a wider cache as once a Handler stop being used it won't be used again. """ diff -r 41bd01ebebb4 -r da30851f9706 predicates.py --- a/predicates.py Fri Oct 16 11:15:50 2015 +0200 +++ b/predicates.py Fri Oct 16 11:58:10 2015 +0200 @@ -834,7 +834,7 @@ class has_related_entities(EntityPredicate): """Return 1 if entity support the specified relation and has some linked - entities by this relation , optionaly filtered according to the specified + entities by this relation , optionally filtered according to the specified target type. The relation is specified by the following initializer arguments: diff -r 41bd01ebebb4 -r da30851f9706 rset.py --- a/rset.py Fri Oct 16 11:15:50 2015 +0200 +++ b/rset.py Fri Oct 16 11:58:10 2015 +0200 @@ -322,7 +322,7 @@ return rql def limit(self, limit, offset=0, inplace=False): - """limit the result set to the given number of rows optionaly starting + """limit the result set to the given number of rows optionally starting from an index different than 0 :type limit: int diff -r 41bd01ebebb4 -r da30851f9706 schemas/workflow.py --- a/schemas/workflow.py Fri Oct 16 11:15:50 2015 +0200 +++ b/schemas/workflow.py Fri Oct 16 11:58:10 2015 +0200 @@ -273,7 +273,7 @@ """indicate the current state of an entity""" __permissions__ = RO_REL_PERMS - # not inlined intentionnaly since when using ldap sources, user'state + # not inlined intentionnally since when using ldap sources, user'state # has to be stored outside the CWUser table inlined = False diff -r 41bd01ebebb4 -r da30851f9706 server/edition.py --- a/server/edition.py Fri Oct 16 11:15:50 2015 +0200 +++ b/server/edition.py Fri Oct 16 11:58:10 2015 +0200 @@ -61,7 +61,7 @@ def __setitem__(self, attr, value): assert attr != 'eid' # don't add attribute into skip_security if already in edited - # attributes, else we may accidentaly skip a desired security check + # attributes, else we may accidentally skip a desired security check if attr not in self: self.skip_security.add(attr) self.edited_attribute(attr, value) @@ -86,7 +86,7 @@ def setdefault(self, attr, default): assert attr != 'eid' # don't add attribute into skip_security if already in edited - # attributes, else we may accidentaly skip a desired security check + # attributes, else we may accidentally skip a desired security check if attr not in self: self[attr] = default return self[attr] diff -r 41bd01ebebb4 -r da30851f9706 server/hook.py --- a/server/hook.py Fri Oct 16 11:15:50 2015 +0200 +++ b/server/hook.py Fri Oct 16 11:58:10 2015 +0200 @@ -638,7 +638,7 @@ # to set in concrete class (mandatory) subject_relations = None object_relations = None - # to set in concrete class (optionaly) + # to set in concrete class (optionally) skip_subject_relations = () skip_object_relations = () @@ -715,7 +715,7 @@ the transaction has been either rolled back either: - * intentionaly + * intentionally * a 'precommit' event failed, in which case all operations are rolled back once 'revertprecommit'' has been called diff -r 41bd01ebebb4 -r da30851f9706 server/querier.py --- a/server/querier.py Fri Oct 16 11:15:50 2015 +0200 +++ b/server/querier.py Fri Oct 16 11:58:10 2015 +0200 @@ -339,7 +339,7 @@ def __init__(self, querier, rqlst, args, cnx): ExecutionPlan.__init__(self, querier, rqlst, args, cnx) - # save originaly selected variable, we may modify this + # save originally selected variable, we may modify this # dictionary for substitution (query parameters) self.selected = rqlst.selection # list of rows of entities definition (ssplanner.EditedEntity) diff -r 41bd01ebebb4 -r da30851f9706 web/action.py --- a/web/action.py Fri Oct 16 11:15:50 2015 +0200 +++ b/web/action.py Fri Oct 16 11:58:10 2015 +0200 @@ -91,7 +91,7 @@ """base class for actions consisting to create a new object with an initial relation set to an entity. - Additionaly to EntityAction behaviour, this class is parametrized using + Additionally to EntityAction behaviour, this class is parametrized using .rtype, .role and .target_etype attributes to check if the action apply and if the logged user has access to it (see :class:`~cubicweb.selectors.partial_relation_possible` selector diff -r 41bd01ebebb4 -r da30851f9706 web/component.py --- a/web/component.py Fri Oct 16 11:15:50 2015 +0200 +++ b/web/component.py Fri Oct 16 11:58:10 2015 +0200 @@ -576,7 +576,7 @@ # to be defined in concrete classes rtype = role = target_etype = None - # class attributes below *must* be set in concrete classes (additionaly to + # class attributes below *must* be set in concrete classes (additionally to # rtype / role [/ target_etype]. They should correspond to js_* methods on # the json controller diff -r 41bd01ebebb4 -r da30851f9706 web/formfields.py --- a/web/formfields.py Fri Oct 16 11:15:50 2015 +0200 +++ b/web/formfields.py Fri Oct 16 11:58:10 2015 +0200 @@ -161,7 +161,7 @@ :attr:`order` key used by automatic forms to sort fields :attr:`ignore_req_params` - when true, this field won't consider value potentialy specified using + when true, this field won't consider value potentially specified using request's form parameters (eg you won't be able to specify a value using for instance url like http://mywebsite.com/form?field=value) @@ -513,7 +513,7 @@ class StringField(Field): """Use this field to edit unicode string (`String` yams type). This field - additionaly support a `max_length` attribute that specify a maximum size for + additionally support a `max_length` attribute that specify a maximum size for the string (`None` meaning no limit). Unless explicitly specified, the widget for this field will be: @@ -785,7 +785,7 @@ If the stream format is one of text/plain, text/html, text/rest, text/markdown - then a :class:`~cubicweb.web.formwidgets.TextArea` will be additionaly + then a :class:`~cubicweb.web.formwidgets.TextArea` will be additionally displayed, allowing to directly the file's content when desired, instead of choosing a file from user's file system. """ @@ -828,7 +828,7 @@ class BigIntField(Field): """Use this field to edit big integers (`BigInt` yams type). This field - additionaly support `min` and `max` attributes that specify a minimum and/or + additionally support `min` and `max` attributes that specify a minimum and/or maximum value for the integer (`None` meaning no boundary). Unless explicitly specified, the widget for this field will be a @@ -912,7 +912,7 @@ class FloatField(IntField): - """Use this field to edit floats (`Float` yams type). This field additionaly + """Use this field to edit floats (`Float` yams type). This field additionally support `min` and `max` attributes as the :class:`~cubicweb.web.formfields.IntField`. diff -r 41bd01ebebb4 -r da30851f9706 web/request.py --- a/web/request.py Fri Oct 16 11:15:50 2015 +0200 +++ b/web/request.py Fri Oct 16 11:58:10 2015 +0200 @@ -243,7 +243,7 @@ '__redirectvid', '__redirectrql')) def setup_params(self, params): - """WARNING: we're intentionaly leaving INTERNAL_FIELD_VALUE here + """WARNING: we're intentionally leaving INTERNAL_FIELD_VALUE here subclasses should overrides to """