backport stable
authorSylvain Thénault <sylvain.thenault@logilab.fr>
Wed, 10 Feb 2010 07:34:33 +0100
changeset 99 c9f8c151ccdf
parent 98 774fd2ef5a2f (current diff)
parent 97 cbda8e698106 (diff)
child 100 51a5ff34b984
backport stable
__pkginfo__.py
schema.py
--- a/.hgtags	Wed Feb 10 07:34:24 2010 +0100
+++ b/.hgtags	Wed Feb 10 07:34:33 2010 +0100
@@ -4,3 +4,5 @@
 cf7bb5b6fba49d35e453f033fbe1607d7fcf9a6f cubicweb-keyword-version-1.4.0
 42376cba6e5f3e312ccc4846aba832155a9adfb9 cubicweb-keyword-debian-version-1.4.0-1
 d3db00ada04f55086064650d52e48d1dc5afe0dc cubicweb-keyword-debian-version-1.4.0-1
+40beb6f7c57df553b77f0bf8f739081f644318fe cubicweb-keyword-version-1.5.0
+39b0f2292d0fa4a80c861c5db82a4cd3ce312f64 cubicweb-keyword-debian-version-1.5.0-1
--- a/__pkginfo__.py	Wed Feb 10 07:34:24 2010 +0100
+++ b/__pkginfo__.py	Wed Feb 10 07:34:33 2010 +0100
@@ -4,7 +4,7 @@
 modname = 'keyword'
 distname = "cubicweb-keyword"
 
-numversion = (1, 4, 0)
+numversion = (1, 5, 0)
 version = '.'.join(str(num) for num in numversion)
 
 license = 'LGPL'
--- a/debian/changelog	Wed Feb 10 07:34:24 2010 +0100
+++ b/debian/changelog	Wed Feb 10 07:34:33 2010 +0100
@@ -1,3 +1,9 @@
+cubicweb-keyword (1.5.0-1) unstable; urgency=low
+
+  * new upstream release
+
+ -- Adrien Di Mascio <Adrien.DiMascio@logilab.fr>  Fri, 08 Jan 2010 16:35:14 +0100
+
 cubicweb-keyword (1.4.0-1) unstable; urgency=low
 
   * new upstream release
--- a/schema.py	Wed Feb 10 07:34:24 2010 +0100
+++ b/schema.py	Wed Feb 10 07:34:33 2010 +0100
@@ -24,8 +24,12 @@
     name = String(required=True, fulltextindexed=True, unique=True,
                   maxsize=128)
     classifies = SubjectRelation('CWEType',
-                                 # see relation type docstring
-                                 constraints = [RQLConstraint('RDEF to_entity O, RDEF relation_type R, R name "applied_to"')])
+                     # see relation type docstring
+                     constraints = [RQLConstraint('RDEF to_entity O,'
+                                                  'RDEF relation_type R,'
+                                                  'R name "applied_to"',
+                     msg="Classification is trying to classifies an EntityType "
+                         "without applied_to relation")])
 
 
 class classifies(RelationType):