obi grep: fixed a bug where -p option didn't work
This commit is contained in:
1 parent
173483448a
commit
f16bbca8e2
1 file changed
+2
-2
@@ -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