obi grep: fixed a bug where -p option didn't work

This commit is contained in:
Celine Mercier
2019-03-30 19:10:42 +01:00
parent 173483448a
commit f16bbca8e2

View File

@ -143,8 +143,8 @@ def Filter_generator(options, tax_filter):
# Initialize conditions
predicates = None
if "predicates" in options:
predicates = options["predicates"]
if "grep_predicates" in options:
predicates = options["grep_predicates"]
attributes = None
if "attributes" in options:
attributes = options["attributes"]