[views] use tag_subject_of instead of tag_attribute
authorPaul Tonelli <paul.tonelli@logilab.fr>
Tue, 22 Apr 2014 15:45:16 +0200
changeset 1440 f22afd087a8f
parent 1439 74845de2ee1d
child 1441 9aef65bee67c
[views] use tag_subject_of instead of tag_attribute execution_log is now a file and not a string attribute
views/testexecution.py
--- a/views/testexecution.py	Fri Nov 08 16:00:37 2013 +0100
+++ b/views/testexecution.py	Tue Apr 22 15:45:16 2014 +0200
@@ -156,8 +156,8 @@
 
 
 _pvdc.tag_attribute(('TestExecution', 'priority',), {'vid': 'tasksqueue.priority'}) # XXX rtag inheritance bug
-_pvs.tag_attribute(('TestExecution', 'execution_log'), 'relations')
-_pvdc.tag_attribute(('TestExecution', 'execution_log'), {'vid': 'narval.formated_log',
+_pvs.tag_subject_of(('TestExecution', 'execution_log', '*'), 'relations')
+_pvdc.tag_subject_of(('TestExecution', 'execution_log','*'), {'vid': 'narval.formated_log',
                                                          'loglevel': 'Error'})
 _pvs.tag_subject_of(('TestExecution', 'log_file', '*'), 'relations')
 _pvdc.tag_subject_of(('TestExecution', 'log_file','*'), {'vid': 'narval.formated_log'})