entities/lib.py
branch3.5
changeset 3207 2516324401dd
parent 3204 0b766b8a13e1
child 3217 1980e9386161
--- a/entities/lib.py	Mon Sep 14 12:48:25 2009 +0200
+++ b/entities/lib.py	Mon Sep 14 12:48:40 2009 +0200
@@ -39,7 +39,7 @@
 
     @property
     def prefered(self):
-        return self.prefered_form and self.prefered_form[0] or None
+        return self.prefered_form and self.prefered_form[0] or self
 
     @deprecated('use .prefered')
     def canonical_form(self):