From c9c721ff13d8c80e327f748fd7fafd99d9c78d52 Mon Sep 17 00:00:00 2001 From: Jan Kaluza Date: May 23 2018 08:45:52 +0000 Subject: Fix flake8 issues --- diff --git a/freshmaker/lightblue.py b/freshmaker/lightblue.py index c1b8682..ea29ee1 100644 --- a/freshmaker/lightblue.py +++ b/freshmaker/lightblue.py @@ -578,14 +578,12 @@ class LightBlue(object): if srpm_names: projection += [ {"field": "rpm_manifest.*.rpms", "include": True, "recursive": True, - "match": { - "$or": [{ - "field": "srpm_name", - "op": "=", - "rvalue": srpm_name - } for srpm_name in srpm_names]} - }, - ] + "match": { + "$or": [{ + "field": "srpm_name", + "op": "=", + "rvalue": srpm_name + } for srpm_name in srpm_names]}}] else: projection += [ {"field": "rpm_manifest.*.rpms", "include": True, "recursive": True}, @@ -593,7 +591,6 @@ class LightBlue(object): ] return projection - def _set_container_image_filters(self, request, published): """ Sets the additional filters to containerImage request