oops tls-sprint
authorsylvain.thenault@logilab.fr
Wed, 18 Feb 2009 01:24:12 +0100
branchtls-sprint
changeset 745 3e46854acf58
parent 744 4da6e0f4df2a
child 747 af9c15653ea9
oops
schema.py
--- a/schema.py	Wed Feb 18 01:24:03 2009 +0100
+++ b/schema.py	Wed Feb 18 01:24:12 2009 +0100
@@ -976,7 +976,7 @@
     
     def vocabulary(self, entity=None):
         if entity and entity.req.user.has_permission(PERM_USE_TEMPLATE_FORMAT):
-            return self.regular_formats + self.need_perm_formats
+            return self.regular_formats + tuple(self.need_perm_formats)
         return self.regular_formats
     
     def __str__(self):