summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMagnus Hagander2024-09-24 20:31:28 +0000
committerMagnus Hagander2024-09-24 20:31:28 +0000
commit845dc635f2e01da4a8c042094c9c5208aa6c8f04 (patch)
tree9e59e0f1c09e6ecc7676760ea096235300a7c762
parent8e9f99bc43c4935a553ed2ea5d54bce064ad12d3 (diff)
Minor pycodestyle updates
-rw-r--r--pgcommitfest/commitfest/views.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/pgcommitfest/commitfest/views.py b/pgcommitfest/commitfest/views.py
index e268175..2c21cd3 100644
--- a/pgcommitfest/commitfest/views.py
+++ b/pgcommitfest/commitfest/views.py
@@ -250,9 +250,10 @@ ORDER BY is_open DESC, {1}""".format(where_str, orderby_str), params)
'header_activity_link': 'activity/',
})
+
def patches_by_messageid(messageid):
# First try to find the messageid in our database
- patches = Patch.objects.select_related().filter(mailthread__messageid=messageid).order_by('created',).all()
+ patches = Patch.objects.select_related().filter(mailthread__messageid=messageid).order_by('created', ).all()
if patches:
return patches