From fb1fb6df6ad4390feaebc432fb318828bd98ab87 Mon Sep 17 00:00:00 2001 From: Michael Mraka Date: Thu, 31 Mar 2016 11:00:42 +0200 Subject: [PATCH] implement query.filter(pkg__neq=..) (RhBug: 1233770) this was easy one :) Closes: #94 Approved by: jsilhan --- src/query.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/query.c b/src/query.c index becb8dd..22a7a8e 100644 --- a/src/query.c +++ b/src/query.c @@ -218,7 +218,7 @@ valid_filter_pkg(int keyname, int cmp_type) { if (!match_type_pkg(keyname)) return 0; - return cmp_type == HY_EQ; + return cmp_type == HY_EQ || cmp_type == HY_NEQ; } static int