obi grep: fixed a bug where -p option didn't work
This commit is contained in:
@ -143,8 +143,8 @@ def Filter_generator(options, tax_filter):
|
|||||||
|
|
||||||
# Initialize conditions
|
# Initialize conditions
|
||||||
predicates = None
|
predicates = None
|
||||||
if "predicates" in options:
|
if "grep_predicates" in options:
|
||||||
predicates = options["predicates"]
|
predicates = options["grep_predicates"]
|
||||||
attributes = None
|
attributes = None
|
||||||
if "attributes" in options:
|
if "attributes" in options:
|
||||||
attributes = options["attributes"]
|
attributes = options["attributes"]
|
||||||
|
Reference in New Issue
Block a user