[schema] spelling fixes in doc strings
authorJulien Cristau <julien.cristau@logilab.fr>
Wed, 11 Jun 2014 10:16:13 +0200
changeset 9817 bb719d857421
parent 9813 c20956f5862d
child 9820 3ad221fe04aa
child 9821 2077c8da1893
[schema] spelling fixes in doc strings
schema.py
--- a/schema.py	Thu Jun 19 17:39:12 2014 +0200
+++ b/schema.py	Wed Jun 11 10:16:13 2014 +0200
@@ -563,7 +563,7 @@
 PermissionMixIn.set_action_permissions = set_action_permissions
 
 def has_local_role(self, action):
-    """return true if the action *may* be granted localy (eg either rql
+    """return true if the action *may* be granted locally (eg either rql
     expressions or the owners group are used in security definition)
 
     XXX this method is only there since we don't know well how to deal with
@@ -585,7 +585,7 @@
 PermissionMixIn.may_have_permission = may_have_permission
 
 def has_perm(self, _cw, action, **kwargs):
-    """return true if the action is granted globaly or localy"""
+    """return true if the action is granted globally or locally"""
     try:
         self.check_perm(_cw, action, **kwargs)
         return True