entities/lib.py
changeset 7990 a673d1d9a738
parent 7827 9bbf83f68bcc
child 8930 6a02be304486
--- a/entities/lib.py	Fri Oct 21 14:32:18 2011 +0200
+++ b/entities/lib.py	Fri Oct 21 14:32:37 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.
@@ -55,10 +55,6 @@
     def prefered(self):
         return self.prefered_form and self.prefered_form[0] or self
 
-    @deprecated('[3.6] use .prefered')
-    def canonical_form(self):
-        return self.prefered_form and self.prefered_form[0] or self
-
     def related_emails(self, skipeids=None):
         # XXX move to eemail
         # check email relations are in the schema first