Skip to content

Commit bb4e557

Browse files
committed
fixed linting errors in views.py
1 parent c8482b5 commit bb4e557

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

pgcommitfest/commitfest/views.py

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ def me(request):
8989
# Get stats related to user for current commitfest
9090
curs = connection.cursor()
9191
curs.execute(
92-
'''SELECT
92+
"""SELECT
9393
ps.status, ps.statusstring, count(*)
9494
FROM commitfest_patchoncommitfest poc
9595
INNER JOIN commitfest_patchstatus ps ON ps.status=poc.status
@@ -102,11 +102,8 @@ def me(request):
102102
OR pr.user_id=%(user_id)s
103103
OR psubs.user_id=%(user_id)s
104104
)
105-
GROUP BY ps.status ORDER BY ps.sortkey''',
106-
{
107-
"id": cf.id,
108-
"user_id": request.user.id
109-
},
105+
GROUP BY ps.status ORDER BY ps.sortkey""",
106+
{"id": cf.id, "user_id": request.user.id},
110107
)
111108
statussummary = curs.fetchall()
112109
print(statussummary)

0 commit comments

Comments
 (0)