diff options
Diffstat (limited to 'packages')
-rw-r--r-- | packages/utils.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/utils.py b/packages/utils.py index 55a2901a..469dc213 100644 --- a/packages/utils.py +++ b/packages/utils.py @@ -111,9 +111,9 @@ SELECT p.id, q.id AND p.arch_id != q.arch_id AND p.id != q.id ) - WHERE p.arch_id in (%s, %s) + WHERE p.arch_id IN (%s, %s) AND ( - q.arch_id in (%s, %s) + q.arch_id IN (%s, %s) OR q.id IS NULL ) AND ( |