# HG changeset patch
# User sylvain.thenault@logilab.fr
# Date 1242053704 -7200
#      Mon May 11 16:55:04 2009 +0200
# Node ID a5f5334530423ee1ac8e25fdceb114997ce258b9
# Parent  9e7973deb15a11b1646bb32f3c9f5091b3870505
update rtag api

diff --git a/views.py b/views.py
--- a/views.py
+++ b/views.py
@@ -29,12 +29,12 @@
 
 _ = unicode
 
-uicfg.rcategories.tag_relation('generated', ('*', 'comments', '*'), 'subject')
-uicfg.rcategories.tag_relation('generated', ('*', 'comments', '*'), 'object')
-uicfg.rmode.tag_relation('link', ('*', 'comments', '*'), 'subject')
-uicfg.rmode.tag_relation('link', ('*', 'comments', '*'), 'object')
-uicfg.rdisplay.tag_relation({}, ('*', 'comments', '*'), 'object')
-uicfg.rdisplay.tag_relation({}, ('*', 'comments', '*'), 'subject')
+uicfg.rcategories.tag_relation('!*', 'comments', '*', 'generated')
+uicfg.rcategories.tag_relation('*', 'comments', '!*', 'generated')
+uicfg.rmode.tag_relation('!*', 'comments', '*', 'link')
+uicfg.rmode.tag_relation('*', 'comments', '!*', 'link')
+uicfg.rdisplay.tag_relation('!*', 'comments', '*', {})
+uicfg.rdisplay.tag_relation('*', 'comments', '!*', {})
 
 # comment views ###############################################################