Adds ability to add a catch-all tag
parent
ab5d9b5097
commit
226daafb24
|
@ -766,6 +766,9 @@ def answer_summary(questionnaire, answers=None):
|
|||
|
||||
def has_tag(tag, runinfo):
|
||||
""" Returns true if the given runinfo contains the given tag. """
|
||||
if tag == '<any>':
|
||||
return True
|
||||
|
||||
return tag in (t.strip() for t in runinfo.tags.split(','))
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue