req.py
branchstable
changeset 7121 c2badb6de3fe
parent 7116 dfd4680a23f0
child 7407 a78cc15227ef
--- a/req.py	Mon Mar 28 16:42:46 2011 +0200
+++ b/req.py	Mon Mar 28 16:42:54 2011 +0200
@@ -1,4 +1,4 @@
-# copyright 2003-2010 LOGILAB S.A. (Paris, FRANCE), all rights reserved.
+# copyright 2003-2011 LOGILAB S.A. (Paris, FRANCE), all rights reserved.
 # contact http://www.logilab.fr/ -- mailto:contact@logilab.fr
 #
 # This file is part of CubicWeb.
@@ -154,7 +154,7 @@
 
     def find_one_entity(self, etype, **kwargs):
         """find one entity of the given type and attribute values.
-        raise FindEntityError if can not return one and only one entity.
+        raise :exc:`FindEntityError` if can not return one and only one entity.
 
         >>> users = find_one_entity('CWGroup', name=u'users')
         >>> groups = find_one_entity('CWGroup')