author | Sylvain Thénault <sylvain.thenault@logilab.fr> |
Tue, 07 Jun 2011 08:02:11 +0200 | |
branch | stable |
changeset 7465 | bb0c89d1a078 |
parent 7453 | 84046395d2cd |
child 7467 | 5a6b3e51807d |
--- a/cwvreg.py Mon Jun 06 15:00:58 2011 +0200 +++ b/cwvreg.py Tue Jun 07 08:02:11 2011 +0200 @@ -756,7 +756,7 @@ sitewide=False): """register a given property""" properties = self['propertydefs'] - assert type in YAMS_TO_PY + assert type in YAMS_TO_PY, 'unknown type %s' % type properties[key] = {'type': type, 'vocabulary': vocabulary, 'default': default, 'help': help, 'sitewide': sitewide}