[ui] Docstring improvments
authorSylvain Thénault <sylvain.thenault@logilab.fr>
Tue, 12 Jul 2016 16:53:23 +0200
changeset 1424 b124eaa8384a
parent 1423 cfbf88f7f748
child 1425 50753eb0a0fa
[ui] Docstring improvments
views/archiveunit.py
views/viewlib.py
--- a/views/archiveunit.py	Tue Jul 12 16:52:46 2016 +0200
+++ b/views/archiveunit.py	Tue Jul 12 16:53:23 2016 +0200
@@ -40,7 +40,7 @@
 
 @objectify_predicate
 def is_archive_unit_ref(cls, req, rset=None, entity=None, **kwargs):
-    """Return 1 if a unit_type value is specified in kwargs or in form parameters, and it value is
+    """Return 1 if a unit_type value is specified in kwargs or in form parameters, and its value is
     'unit_ref'
     """
     try:
--- a/views/viewlib.py	Tue Jul 12 16:52:46 2016 +0200
+++ b/views/viewlib.py	Tue Jul 12 16:53:23 2016 +0200
@@ -124,7 +124,7 @@
 
 
 class BusinessValueConceptEntityView(BusinessValueEntityView):
-    """Specific business value view for concept entity: simply display the concept's label as text
+    """Specific business value view for concept entity: simply display the concept's label as text.
     """
     __select__ = is_instance('Concept')
 
@@ -191,7 +191,7 @@
 
 
 class TypeListItemView(ListItemView):
-    """Extended 'oneline' view for entities with type.  """
+    """Extended 'oneline' view for entities with type."""
     __regid__ = 'seda.type_listitem'
     business_vid = 'seda.type_meta'