[PATCH 2 of 3 saem v4] [hooks] Typo

Sylvain Thenault sylvain.thenault at logilab.fr
Wed Jul 19 14:36:36 CEST 2017


# HG changeset patch
# User Sylvain Thénault <sylvain.thenault at logilab.fr>
# Date 1500451235 -7200
#      Wed Jul 19 10:00:35 2017 +0200
# Node ID e615a76f44e044b97b065f85b5c7f20828d5cdcc
# Parent  367be17338ab94ae4dfc913869e73f105fe35825
# Available At http://hg.logilab.org/review/cubes/saem_ref
#              hg pull http://hg.logilab.org/review/cubes/saem_ref -r e615a76f44e0
[hooks] Typo

diff --git a/cubicweb_saem_ref/hooks.py b/cubicweb_saem_ref/hooks.py
--- a/cubicweb_saem_ref/hooks.py
+++ b/cubicweb_saem_ref/hooks.py
@@ -89,11 +89,11 @@ def qualify_relation(subj, rtype, obj):
         if s_adapter is None:
             # relation actually outside a container (e.g. EmailAddress use_email CWUser)
             return []
         return [('parent', 'subject', s_adapter)]
     # from here, we can assume rtype is not a parentship relation. Notice the relation may concerns
-    # to distinct container
+    # two distinct containers
     assert s_adapter or o_adapter
     result = []
     if s_adapter is not None:
         result.append(('border', 'subject', s_adapter))
     if o_adapter is not None:


More information about the saem-devel mailing list