schema.py
branchtls-sprint
changeset 745 3e46854acf58
parent 715 83228d379cbe
child 1016 26387b836099
--- 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):