entities/adapters.py
changeset 9821 2077c8da1893
parent 9705 1d40d3b10142
child 9918 228c3571e222
--- a/entities/adapters.py	Fri May 23 18:35:13 2014 +0200
+++ b/entities/adapters.py	Fri Jun 27 11:48:26 2014 +0200
@@ -166,7 +166,7 @@
     __abstract__ = True
 
     def download_url(self, **kwargs): # XXX not really part of this interface
-        """return an url to download entity's content"""
+        """return a URL to download entity's content"""
         raise NotImplementedError
 
     def download_content_type(self):
@@ -187,13 +187,11 @@
 
 # XXX should propose to use two different relations for children/parent
 class ITreeAdapter(view.EntityAdapter):
-    """This adapter has to be overriden to be configured using the
-    tree_relation, child_role and parent_role class attributes to benefit from
-    this default implementation.
+    """This adapter provides a tree interface.
 
-    This adapter provides a tree interface. It has to be overriden to be
-    configured using the tree_relation, child_role and parent_role class
-    attributes to benefit from this default implementation.
+    It has to be overriden to be configured using the tree_relation,
+    child_role and parent_role class attributes to benefit from this default
+    implementation.
 
     This class provides the following methods: