Skip to content

Commit

Permalink
implement query.filter(pkg__neq=..) (RhBug: 1233770)
Browse files Browse the repository at this point in the history
this was easy one :)

Closes: #94
Approved by: jsilhan
  • Loading branch information
MichaelMraka authored and Igor Gnatenko committed Feb 13, 2017
1 parent e4fc14c commit fb1fb6d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/query.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit fb1fb6d

Please sign in to comment.