Skip to content
Snippets Groups Projects
Commit bd504d90588d authored by Yuya Nishihara's avatar Yuya Nishihara
Browse files

templater: implement _hybrid.__contains__ so that ifcontains can accept dict

d8fb835376d1 is fine for "{revset()}", but "i.values()[0]" does not work if
each item has more than one values such as "{bookmarks}".

This fixes the problem by using list.__contains__ or dict.__contains__
appropriately.
parent 31f9b1b16d1e
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment